home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Software Dispatch
/
Apple Software Dispatch.iso
/
Software Dispatch Files
/
Resolve
/
Sample Application
/
Sample Application.rsrc
/
CODE_1_Main.txt
< prev
next >
Wrap
Text File
|
1993-07-15
|
629KB
|
11,451 lines
# near model CODE resource
# jump table entries: 0-217 (218 of them)
export_1:
fn00000000:
00000000 4E56 FFFC link A6, -0x0004
00000004 48E7 0300 movem.l -[A7], D6,D7
00000008 2E2E 0008 move.l D7, [A6 + 0x8]
0000000C 4246 clr.w D6
0000000E 4A6D AF5A tst.w [A5 - 0x50A6]
00000012 6606 bne +0x8 /* 0000001A */
00000014 0687 0000 4000 addi.l D7, 0x4000 /* '@\0' */
label0000001A:
0000001A 598F subq.l A7, 4
0000001C 4EBA 6216 jsr [PC + 0x6216 /* 00006234 */]
00000020 BE9F cmp.l D7, [A7]+
00000022 6204 bhi +0x6 /* 00000028 */
00000024 5246 addq.w D6, 1
00000026 601E bra +0x20 /* 00000046 */
label00000028:
00000028 2F07 move.l -[A7], D7
0000002A 4EBA 2286 jsr [PC + 0x2286 /* 000022B2 */]
0000002E 598F subq.l A7, 4
00000030 486E FFFC pea.l [A6 - 0x4]
00000034 4EBA 6212 jsr [PC + 0x6212 /* 00006248 */]
00000038 598F subq.l A7, 4
0000003A 4EBA 61F8 jsr [PC + 0x61F8 /* 00006234 */]
0000003E BE9F cmp.l D7, [A7]+
00000040 508F addq.l A7, 8
00000042 6202 bhi +0x4 /* 00000046 */
00000044 5246 addq.w D6, 1
label00000046:
00000046 3006 move.w D0, D6
00000048 4CEE 00C0 FFF4 movem.l D6,D7, [A6 - 0xC]
0000004E 4E5E unlink A6
00000050 4E75 rts
export_2:
00000052 48E7 0710 movem.l -[A7], D5,D6,D7,A3
00000056 2C2F 0018 move.l D6, [A7 + 0x18]
0000005A 266F 0014 movea.l A3, [A7 + 0x14]
0000005E 598F subq.l A7, 4
00000060 2F0B move.l -[A7], A3
00000062 4EBA 648A jsr [PC + 0x648A /* 000064EE */]
00000066 2A06 move.l D5, D6
00000068 9A9F sub.l D5, [A7]+
0000006A 2F05 move.l -[A7], D5
0000006C 4EBA FF92 jsr [PC - 0x6E /* 00000000 */]
00000070 4A40 tst.w D0
00000072 588F addq.l A7, 4
00000074 6712 beq +0x14 /* 00000088 */
00000076 2F0B move.l -[A7], A3
00000078 2F06 move.l -[A7], D6
0000007A 4EBA 6486 jsr [PC + 0x6486 /* 00006502 */]
0000007E 558F subq.l A7, 2
00000080 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00000084 3E1F move.w D7, [A7]+
00000086 6002 bra +0x4 /* 0000008A */
label00000088:
00000088 7E94 moveq.l D7, 0xFFFFFF94
label0000008A:
0000008A 4A47 tst.w D7
0000008C 6704 beq +0x6 /* 00000092 */
0000008E 4EAD 0E52 jsr [A5 + 0xE52 /* export_454 */]
label00000092:
00000092 3007 move.w D0, D7
00000094 4CDF 08E0 movem.l D5,D6,D7,A3, [A7]+
00000098 4E75 rts
export_3:
0000009A 4E56 0000 link A6, 0
0000009E 48E7 0018 movem.l -[A7], A3,A4
000000A2 7000 moveq.l D0, 0x00
000000A4 2640 movea.l A3, D0
000000A6 4A6D AF5A tst.w [A5 - 0x50A6]
000000AA 660C bne +0xE /* 000000B8 */
000000AC 598F subq.l A7, 4
000000AE 4878 4000 push.l 0x4000 /* '@\0' */
000000B2 4EBA 6418 jsr [PC + 0x6418 /* 000064CC */]
000000B6 285F movea.l A4, [A7]+
label000000B8:
000000B8 200C move.l D0, A4
000000BA 6606 bne +0x8 /* 000000C2 */
000000BC 4A6D AF5A tst.w [A5 - 0x50A6]
000000C0 672E beq +0x30 /* 000000F0 */
label000000C2:
000000C2 598F subq.l A7, 4
000000C4 2F2E 0008 move.l -[A7], [A6 + 0x8]
000000C8 3F2E 000E move.w -[A7], [A6 + 0xE]
000000CC A9A0 syscall GetResource
000000CE 265F movea.l A3, [A7]+
000000D0 558F subq.l A7, 2
000000D2 A9AF syscall ResError
000000D4 301F move.w D0, [A7]+
000000D6 48C0 ext.l D0
000000D8 7294 moveq.l D1, 0xFFFFFF94
000000DA B280 cmp.l D1, D0
000000DC 6604 bne +0x6 /* 000000E2 */
000000DE 4EAD 0E52 jsr [A5 + 0xE52 /* export_454 */]
label000000E2:
000000E2 4A6D AF5A tst.w [A5 - 0x50A6]
000000E6 660C bne +0xE /* 000000F4 */
000000E8 2F0C move.l -[A7], A4
000000EA 4EBA 63F8 jsr [PC + 0x63F8 /* 000064E4 */]
000000EE 6004 bra +0x6 /* 000000F4 */
label000000F0:
000000F0 4EAD 0E52 jsr [A5 + 0xE52 /* export_454 */]
label000000F4:
000000F4 200B move.l D0, A3
000000F6 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
000000FC 4E5E unlink A6
000000FE 4E75 rts
export_4:
00000100 48E7 0110 movem.l -[A7], D7,A3
00000104 2E2F 000C move.l D7, [A7 + 0xC]
00000108 2F07 move.l -[A7], D7
0000010A 4EBA FEF4 jsr [PC - 0x10C /* 00000000 */]
0000010E 4A40 tst.w D0
00000110 588F addq.l A7, 4
00000112 670C beq +0xE /* 00000120 */
00000114 598F subq.l A7, 4
00000116 2F07 move.l -[A7], D7
00000118 4EBA 63B2 jsr [PC + 0x63B2 /* 000064CC */]
0000011C 201F move.l D0, [A7]+
0000011E 6002 bra +0x4 /* 00000122 */
label00000120:
00000120 7000 moveq.l D0, 0x00
label00000122:
00000122 2640 movea.l A3, D0
00000124 200B move.l D0, A3
00000126 6604 bne +0x6 /* 0000012C */
00000128 4EAD 0E52 jsr [A5 + 0xE52 /* export_454 */]
label0000012C:
0000012C 200B move.l D0, A3
0000012E 4CDF 0880 movem.l D7,A3, [A7]+
00000132 4E75 rts
export_5:
00000134 2F0B move.l -[A7], A3
00000136 266F 0008 movea.l A3, [A7 + 0x8]
0000013A 200B move.l D0, A3
0000013C 6706 beq +0x8 /* 00000144 */
0000013E 2F0B move.l -[A7], A3
00000140 4EBA 63A2 jsr [PC + 0x63A2 /* 000064E4 */]
label00000144:
00000144 265F movea.l A3, [A7]+
00000146 4E75 rts
fn00000148:
00000148 4E56 FFFC link A6, -0x0004
0000014C 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00000150 282E 0008 move.l D4, [A6 + 0x8]
00000154 286E 000C movea.l A4, [A6 + 0xC]
00000158 7000 moveq.l D0, 0x00
0000015A 2640 movea.l A3, D0
0000015C 2E14 move.l D7, [A4]
0000015E 4A6D AF5A tst.w [A5 - 0x50A6]
00000162 6702 beq +0x4 /* 00000166 */
00000164 2E04 move.l D7, D4
label00000166:
00000166 2F07 move.l -[A7], D7
00000168 4EBA FE96 jsr [PC - 0x16A /* 00000000 */]
0000016C 4A40 tst.w D0
0000016E 588F addq.l A7, 4
00000170 6712 beq +0x14 /* 00000184 */
00000172 598F subq.l A7, 4
00000174 2F07 move.l -[A7], D7
00000176 4EBA 6312 jsr [PC + 0x6312 /* 0000648A */]
0000017A 265F movea.l A3, [A7]+
0000017C 200B move.l D0, A3
0000017E 6704 beq +0x6 /* 00000184 */
00000180 2887 move.l [A4], D7
00000182 604E bra +0x50 /* 000001D2 */
label00000184:
00000184 598F subq.l A7, 4
00000186 486E FFFC pea.l [A6 - 0x4]
0000018A 4EBA 60BC jsr [PC + 0x60BC /* 00006248 */]
0000018E 2A1F move.l D5, [A7]+
00000190 598F subq.l A7, 4
00000192 4EBA 60A0 jsr [PC + 0x60A0 /* 00006234 */]
00000196 2C1F move.l D6, [A7]+
00000198 4A6D AF5A tst.w [A5 - 0x50A6]
0000019C 6606 bne +0x8 /* 000001A4 */
0000019E 0486 0000 4000 subi.l D6, 0x4000 /* '@\0' */
label000001A4:
000001A4 BE86 cmp.l D7, D6
000001A6 6F02 ble +0x4 /* 000001AA */
000001A8 2E06 move.l D7, D6
label000001AA:
000001AA BE85 cmp.l D7, D5
000001AC 6F02 ble +0x4 /* 000001B0 */
000001AE 2E05 move.l D7, D5
label000001B0:
000001B0 4A6D AF5A tst.w [A5 - 0x50A6]
000001B4 6608 bne +0xA /* 000001BE */
000001B6 0C87 0000 1000 cmpi.l D7, 0x1000
000001BC 6D14 blt +0x16 /* 000001D2 */
label000001BE:
000001BE B887 cmp.l D4, D7
000001C0 6E10 bgt +0x12 /* 000001D2 */
000001C2 598F subq.l A7, 4
000001C4 2F07 move.l -[A7], D7
000001C6 4EBA 62C2 jsr [PC + 0x62C2 /* 0000648A */]
000001CA 265F movea.l A3, [A7]+
000001CC 200B move.l D0, A3
000001CE 6702 beq +0x4 /* 000001D2 */
000001D0 2887 move.l [A4], D7
label000001D2:
000001D2 200B move.l D0, A3
000001D4 4CEE 18F0 FFE4 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x1C]
000001DA 4E5E unlink A6
000001DC 4E75 rts
fn000001DE:
000001DE 4E56 FFF8 link A6, -0x0008
000001E2 48E7 0118 movem.l -[A7], D7,A3,A4
000001E6 2E2E 0008 move.l D7, [A6 + 0x8]
000001EA 2007 move.l D0, D7
000001EC 5280 addq.l D0, 1
000001EE 7EFE moveq.l D7, 0xFFFFFFFE
000001F0 CE80 and.l D7, D0
label000001F2:
000001F2 41ED A410 lea.l A0, [A5 - 0x5BF0]
000001F6 2D48 FFF8 move.l [A6 - 0x8], A0
000001FA 607A bra +0x7C /* 00000276 */
label000001FC:
000001FC 206E FFF8 movea.l A0, [A6 - 0x8]
00000200 2050 movea.l A0, [A0]
00000202 47E8 0008 lea.l A3, [A0 + 0x8]
00000206 6060 bra +0x62 /* 00000268 */
label00000208:
00000208 284B movea.l A4, A3
0000020A 7000 moveq.l D0, 0x00
0000020C 3013 move.w D0, [A3]
0000020E 2640 movea.l A3, D0
00000210 D7CC add.l A3, A4
00000212 7000 moveq.l D0, 0x00
00000214 302B 0002 move.w D0, [A3 + 0x2]
00000218 BE80 cmp.l D7, D0
0000021A 6614 bne +0x16 /* 00000230 */
0000021C 4A53 tst.w [A3]
0000021E 670A beq +0xC /* 0000022A */
00000220 3014 move.w D0, [A4]
00000222 D053 add.w D0, [A3]
00000224 7200 moveq.l D1, 0x00
00000226 3200 move.w D1, D0
00000228 6002 bra +0x4 /* 0000022C */
label0000022A:
0000022A 7200 moveq.l D1, 0x00
label0000022C:
0000022C 3881 move.w [A4], D1
0000022E 6028 bra +0x2A /* 00000258 */
label00000230:
00000230 7000 moveq.l D0, 0x00
00000232 302B 0002 move.w D0, [A3 + 0x2]
00000236 2207 move.l D1, D7
00000238 5881 addq.l D1, 4
0000023A B280 cmp.l D1, D0
0000023C 622A bhi +0x2C /* 00000268 */
0000023E DF54 add.w [A4], D7
00000240 7000 moveq.l D0, 0x00
00000242 3014 move.w D0, [A4]
00000244 D9C0 add.l A4, D0
00000246 3893 move.w [A4], [A3]
00000248 6702 beq +0x4 /* 0000024C */
0000024A 9F54 sub.w [A4], D7
label0000024C:
0000024C 7000 moveq.l D0, 0x00
0000024E 302B 0002 move.w D0, [A3 + 0x2]
00000252 9087 sub.l D0, D7
00000254 3940 0002 move.w [A4 + 0x2], D0
label00000258:
00000258 206E FFF8 movea.l A0, [A6 - 0x8]
0000025C 2050 movea.l A0, [A0]
0000025E 9F68 0004 sub.w [A0 + 0x4], D7
00000262 200B move.l D0, A3
00000264 6000 008E bra +0x90 /* 000002F4 */
label00000268:
00000268 4A53 tst.w [A3]
0000026A 669C bne -0x62 /* 00000208 */
0000026C 206E FFF8 movea.l A0, [A6 - 0x8]
00000270 2050 movea.l A0, [A0]
00000272 2D48 FFF8 move.l [A6 - 0x8], A0
label00000276:
00000276 206E FFF8 movea.l A0, [A6 - 0x8]
0000027A 4A90 tst.l [A0]
0000027C 6600 FF7E bne -0x80 /* 000001FC */
00000280 4EAD 1962 jsr [A5 + 0x1962 /* export_808 */]
00000284 4A40 tst.w D0
00000286 6600 FF6A bne -0x94 /* 000001F2 */
0000028A 2D7C 0000 FFF0 FFFC move.l [A6 - 0x4], 0xFFF0
00000292 486E FFFC pea.l [A6 - 0x4]
00000296 2007 move.l D0, D7
00000298 7210 moveq.l D1, 0x10
0000029A D081 add.l D0, D1
0000029C 2F00 move.l -[A7], D0
0000029E 4EBA FEA8 jsr [PC - 0x158 /* 00000148 */]
000002A2 2840 movea.l A4, D0
000002A4 200C move.l D0, A4
000002A6 508F addq.l A7, 8
000002A8 6604 bne +0x6 /* 000002AE */
000002AA 7000 moveq.l D0, 0x00
000002AC 6046 bra +0x48 /* 000002F4 */
label000002AE:
000002AE 206E FFF8 movea.l A0, [A6 - 0x8]
000002B2 208C move.l [A0], A4
000002B4 7000 moveq.l D0, 0x00
000002B6 2880 move.l [A4], D0
000002B8 426C 000A clr.w [A4 + 0xA]
000002BC 222E FFFC move.l D1, [A6 - 0x4]
000002C0 740C moveq.l D2, 0x0C
000002C2 9282 sub.l D1, D2
000002C4 3941 0006 move.w [A4 + 0x6], D1
000002C8 220C move.l D1, A4
000002CA D282 add.l D1, D2
000002CC 2641 movea.l A3, D1
000002CE D7C7 add.l A3, D7
000002D0 222E FFFC move.l D1, [A6 - 0x4]
000002D4 9282 sub.l D1, D2
000002D6 9287 sub.l D1, D7
000002D8 3941 0004 move.w [A4 + 0x4], D1
000002DC 3741 0002 move.w [A3 + 0x2], D1
000002E0 4253 clr.w [A3]
000002E2 204C movea.l A0, A4
000002E4 5088 addq.l A0, 8
000002E6 220B move.l D1, A3
000002E8 9288 sub.l D1, A0
000002EA 3941 0008 move.w [A4 + 0x8], D1
000002EE 220C move.l D1, A4
000002F0 D282 add.l D1, D2
000002F2 2001 move.l D0, D1
label000002F4:
000002F4 4CEE 1880 FFEC movem.l D7,A3,A4, [A6 - 0x14]
000002FA 4E5E unlink A6
000002FC 4E75 rts
fn000002FE:
000002FE 4E56 FFF4 link A6, -0x000C
00000302 48E7 0118 movem.l -[A7], D7,A3,A4
00000306 2E2E 000C move.l D7, [A6 + 0xC]
0000030A 266E 0008 movea.l A3, [A6 + 0x8]
0000030E 2007 move.l D0, D7
00000310 5280 addq.l D0, 1
00000312 7EFE moveq.l D7, 0xFFFFFFFE
00000314 CE80 and.l D7, D0
00000316 41ED A410 lea.l A0, [A5 - 0x5BF0]
0000031A 2D48 FFFC move.l [A6 - 0x4], A0
label0000031E:
0000031E 206E FFFC movea.l A0, [A6 - 0x4]
00000322 2D50 FFF8 move.l [A6 - 0x8], [A0]
00000326 202E FFF8 move.l D0, [A6 - 0x8]
0000032A 720C moveq.l D1, 0x0C
0000032C D081 add.l D0, D1
0000032E B08B cmp.l D0, A3
00000330 6218 bhi +0x1A /* 0000034A */
00000332 202E FFF8 move.l D0, [A6 - 0x8]
00000336 720C moveq.l D1, 0x0C
00000338 D081 add.l D0, D1
0000033A 206E FFF8 movea.l A0, [A6 - 0x8]
0000033E 7400 moveq.l D2, 0x00
00000340 3428 0006 move.w D2, [A0 + 0x6]
00000344 D480 add.l D2, D0
00000346 B48B cmp.l D2, A3
00000348 620A bhi +0xC /* 00000354 */
label0000034A:
0000034A 206E FFF8 movea.l A0, [A6 - 0x8]
0000034E 2D48 FFFC move.l [A6 - 0x4], A0
00000352 60CA bra -0x34 /* 0000031E */
label00000354:
00000354 206E FFF8 movea.l A0, [A6 - 0x8]
00000358 49E8 0008 lea.l A4, [A0 + 0x8]
label0000035C:
0000035C 2D4C FFF4 move.l [A6 - 0xC], A4
00000360 7000 moveq.l D0, 0x00
00000362 3014 move.w D0, [A4]
00000364 D9C0 add.l A4, D0
00000366 B7CC cmpa.l A3, A4
00000368 6428 bcc +0x2A /* 00000392 */
0000036A 200B move.l D0, A3
0000036C D087 add.l D0, D7
0000036E B9C0 cmpa.l A4, D0
00000370 6614 bne +0x16 /* 00000386 */
00000372 3694 move.w [A3], [A4]
00000374 6702 beq +0x4 /* 00000378 */
00000376 DF53 add.w [A3], D7
label00000378:
00000378 7000 moveq.l D0, 0x00
0000037A 302C 0002 move.w D0, [A4 + 0x2]
0000037E D087 add.l D0, D7
00000380 3740 0002 move.w [A3 + 0x2], D0
00000384 601A bra +0x1C /* 000003A0 */
label00000386:
00000386 200C move.l D0, A4
00000388 908B sub.l D0, A3
0000038A 3680 move.w [A3], D0
0000038C 3747 0002 move.w [A3 + 0x2], D7
00000390 600E bra +0x10 /* 000003A0 */
label00000392:
00000392 4A54 tst.w [A4]
00000394 66C6 bne -0x38 /* 0000035C */
00000396 2D4C FFF4 move.l [A6 - 0xC], A4
0000039A 4253 clr.w [A3]
0000039C 3747 0002 move.w [A3 + 0x2], D7
label000003A0:
000003A0 206E FFF4 movea.l A0, [A6 - 0xC]
000003A4 7000 moveq.l D0, 0x00
000003A6 3028 0002 move.w D0, [A0 + 0x2]
000003AA D0AE FFF4 add.l D0, [A6 - 0xC]
000003AE B7C0 cmpa.l A3, D0
000003B0 6624 bne +0x26 /* 000003D6 */
000003B2 206E FFF4 movea.l A0, [A6 - 0xC]
000003B6 3093 move.w [A0], [A3]
000003B8 670E beq +0x10 /* 000003C8 */
000003BA 206E FFF4 movea.l A0, [A6 - 0xC]
000003BE 226E FFF4 movea.l A1, [A6 - 0xC]
000003C2 3029 0002 move.w D0, [A1 + 0x2]
000003C6 D150 add.w [A0], D0
label000003C8:
000003C8 206E FFF4 movea.l A0, [A6 - 0xC]
000003CC 302B 0002 move.w D0, [A3 + 0x2]
000003D0 D168 0002 add.w [A0 + 0x2], D0
000003D4 600C bra +0xE /* 000003E2 */
label000003D6:
000003D6 200B move.l D0, A3
000003D8 90AE FFF4 sub.l D0, [A6 - 0xC]
000003DC 206E FFF4 movea.l A0, [A6 - 0xC]
000003E0 3080 move.w [A0], D0
label000003E2:
000003E2 206E FFF8 movea.l A0, [A6 - 0x8]
000003E6 DF68 0004 add.w [A0 + 0x4], D7
000003EA 226E FFF8 movea.l A1, [A6 - 0x8]
000003EE 3028 0004 move.w D0, [A0 + 0x4]
000003F2 B069 0006 cmp.w D0, [A1 + 0x6]
000003F6 6612 bne +0x14 /* 0000040A */
000003F8 206E FFF8 movea.l A0, [A6 - 0x8]
000003FC 226E FFFC movea.l A1, [A6 - 0x4]
00000400 2290 move.l [A1], [A0]
00000402 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000406 4EBA 609A jsr [PC + 0x609A /* 000064A2 */]
label0000040A:
0000040A 4CEE 1880 FFE8 movem.l D7,A3,A4, [A6 - 0x18]
00000410 4E5E unlink A6
00000412 4E75 rts
export_6:
fn00000414:
00000414 4E56 0000 link A6, 0
00000418 2F0B move.l -[A7], A3
0000041A 54AE 0008 addq.l [A6 + 0x8], 2
0000041E 0CAE 0000 FFE0 0008 cmpi.l [A6 + 0x8], 0xFFE0
00000426 6218 bhi +0x1A /* 00000440 */
00000428 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000042C 4EBA FDB0 jsr [PC - 0x250 /* 000001DE */]
00000430 2640 movea.l A3, D0
00000432 200B move.l D0, A3
00000434 588F addq.l A7, 4
00000436 6728 beq +0x2A /* 00000460 */
00000438 36AE 000A move.w [A3], [A6 + 0xA]
0000043C 548B addq.l A3, 2
0000043E 6020 bra +0x22 /* 00000460 */
label00000440:
00000440 486E 0008 pea.l [A6 + 0x8]
00000444 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000448 4EBA FCFE jsr [PC - 0x302 /* 00000148 */]
0000044C 2640 movea.l A3, D0
0000044E 200B move.l D0, A3
00000450 508F addq.l A7, 8
00000452 6708 beq +0xA /* 0000045C */
00000454 36BC FFFF move.w [A3], 0xFFFF
00000458 548B addq.l A3, 2
0000045A 6004 bra +0x6 /* 00000460 */
label0000045C:
0000045C 7000 moveq.l D0, 0x00
0000045E 2640 movea.l A3, D0
label00000460:
00000460 200B move.l D0, A3
00000462 266E FFFC movea.l A3, [A6 - 0x4]
00000466 4E5E unlink A6
00000468 4E75 rts
export_7:
0000046A 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
0000046E 286F 0018 movea.l A4, [A7 + 0x18]
00000472 2E2F 001C move.l D7, [A7 + 0x1C]
00000476 200C move.l D0, A4
00000478 672E beq +0x30 /* 000004A8 */
0000047A 264C movea.l A3, A4
0000047C 558B subq.l A3, 2
0000047E 3A13 move.w D5, [A3]
00000480 7000 moveq.l D0, 0x00
00000482 3005 move.w D0, D5
00000484 0C80 0000 FFFF cmpi.l D0, 0xFFFF
0000048A 6614 bne +0x16 /* 000004A0 */
0000048C 598F subq.l A7, 4
0000048E 2F0B move.l -[A7], A3
00000490 4EBA 601A jsr [PC + 0x601A /* 000064AC */]
00000494 2C1F move.l D6, [A7]+
00000496 6C04 bge +0x6 /* 0000049C */
00000498 7C00 moveq.l D6, 0x00
0000049A 600C bra +0xE /* 000004A8 */
label0000049C:
0000049C 5586 subq.l D6, 2
0000049E 6008 bra +0xA /* 000004A8 */
label000004A0:
000004A0 7000 moveq.l D0, 0x00
000004A2 3005 move.w D0, D5
000004A4 2C00 move.l D6, D0
000004A6 5586 subq.l D6, 2
label000004A8:
000004A8 2F07 move.l -[A7], D7
000004AA 4EBA FF68 jsr [PC - 0x98 /* 00000414 */]
000004AE 2640 movea.l A3, D0
000004B0 200B move.l D0, A3
000004B2 588F addq.l A7, 4
000004B4 6724 beq +0x26 /* 000004DA */
000004B6 200C move.l D0, A4
000004B8 6700 0082 beq +0x84 /* 0000053C */
000004BC 2F0C move.l -[A7], A4
000004BE 2F0B move.l -[A7], A3
000004C0 BE86 cmp.l D7, D6
000004C2 6404 bcc +0x6 /* 000004C8 */
000004C4 2007 move.l D0, D7
000004C6 6002 bra +0x4 /* 000004CA */
label000004C8:
000004C8 2006 move.l D0, D6
label000004CA:
000004CA 2F00 move.l -[A7], D0
000004CC 4EAD 1B12 jsr [A5 + 0x1B12 /* export_862 */]
000004D0 2F0C move.l -[A7], A4
000004D2 4EBA 0070 jsr [PC + 0x70 /* 00000544 */]
000004D6 588F addq.l A7, 4
000004D8 6062 bra +0x64 /* 0000053C */
label000004DA:
000004DA 200C move.l D0, A4
000004DC 675E beq +0x60 /* 0000053C */
000004DE 5487 addq.l D7, 2
000004E0 2007 move.l D0, D7
000004E2 720C moveq.l D1, 0x0C
000004E4 D081 add.l D0, D1
000004E6 BC80 cmp.l D6, D0
000004E8 6552 bcs +0x54 /* 0000053C */
000004EA 264C movea.l A3, A4
000004EC 558B subq.l A3, 2
000004EE 7000 moveq.l D0, 0x00
000004F0 3005 move.w D0, D5
000004F2 0C80 0000 FFFF cmpi.l D0, 0xFFFF
000004F8 6728 beq +0x2A /* 00000522 */
000004FA 3687 move.w [A3], D7
000004FC 2007 move.l D0, D7
000004FE 5280 addq.l D0, 1
00000500 7EFE moveq.l D7, 0xFFFFFFFE
00000502 CE80 and.l D7, D0
00000504 D7C7 add.l A3, D7
00000506 7000 moveq.l D0, 0x00
00000508 3005 move.w D0, D5
0000050A 9087 sub.l D0, D7
0000050C 3680 move.w [A3], D0
0000050E 7000 moveq.l D0, 0x00
00000510 3005 move.w D0, D5
00000512 9087 sub.l D0, D7
00000514 2F00 move.l -[A7], D0
00000516 2F0B move.l -[A7], A3
00000518 4EBA FDE4 jsr [PC - 0x21C /* 000002FE */]
0000051C 264C movea.l A3, A4
0000051E 508F addq.l A7, 8
00000520 601A bra +0x1C /* 0000053C */
label00000522:
00000522 2F0B move.l -[A7], A3
00000524 2F07 move.l -[A7], D7
00000526 4EBA 5F98 jsr [PC + 0x5F98 /* 000064C0 */]
0000052A 558F subq.l A7, 2
0000052C 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00000530 4A5F tst.w [A7]+
00000532 6704 beq +0x6 /* 00000538 */
00000534 7000 moveq.l D0, 0x00
00000536 6002 bra +0x4 /* 0000053A */
label00000538:
00000538 200C move.l D0, A4
label0000053A:
0000053A 2640 movea.l A3, D0
label0000053C:
0000053C 200B move.l D0, A3
0000053E 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
00000542 4E75 rts
export_8:
fn00000544:
00000544 2F0B move.l -[A7], A3
00000546 266F 0008 movea.l A3, [A7 + 0x8]
0000054A 558B subq.l A3, 2
0000054C 7000 moveq.l D0, 0x00
0000054E 3013 move.w D0, [A3]
00000550 0C80 0000 FFFF cmpi.l D0, 0xFFFF
00000556 6710 beq +0x12 /* 00000568 */
00000558 7000 moveq.l D0, 0x00
0000055A 3013 move.w D0, [A3]
0000055C 2F00 move.l -[A7], D0
0000055E 2F0B move.l -[A7], A3
00000560 4EBA FD9C jsr [PC - 0x264 /* 000002FE */]
00000564 508F addq.l A7, 8
00000566 6006 bra +0x8 /* 0000056E */
label00000568:
00000568 2F0B move.l -[A7], A3
0000056A 4EBA 5F36 jsr [PC + 0x5F36 /* 000064A2 */]
label0000056E:
0000056E 265F movea.l A3, [A7]+
00000570 4E75 rts
export_9:
00000572 4E56 FFFC link A6, -0x0004
00000576 48E7 0118 movem.l -[A7], D7,A3,A4
0000057A 2F3C 3FFF FFFF move.l -[A7], 0x3FFFFFFF
00000580 4EBA 1D30 jsr [PC + 0x1D30 /* 000022B2 */]
00000584 598F subq.l A7, 4
00000586 486E FFFC pea.l [A6 - 0x4]
0000058A 4EBA 5CBC jsr [PC + 0x5CBC /* 00006248 */]
0000058E 598F subq.l A7, 4
00000590 4EBA 5CA2 jsr [PC + 0x5CA2 /* 00006234 */]
00000594 2E1F move.l D7, [A7]+
00000596 9EBC 0000 4000 sub.l D7, 0x4000 /* '@\0' */
0000059C 286D A410 movea.l A4, [A5 - 0x5BF0]
000005A0 508F addq.l A7, 8
000005A2 601A bra +0x1C /* 000005BE */
label000005A4:
000005A4 47EC 0008 lea.l A3, [A4 + 0x8]
label000005A8:
000005A8 7000 moveq.l D0, 0x00
000005AA 302B 0002 move.w D0, [A3 + 0x2]
000005AE DE80 add.l D7, D0
000005B0 4A53 tst.w [A3]
000005B2 6708 beq +0xA /* 000005BC */
000005B4 7000 moveq.l D0, 0x00
000005B6 3013 move.w D0, [A3]
000005B8 D7C0 add.l A3, D0
000005BA 60EC bra -0x12 /* 000005A8 */
label000005BC:
000005BC 2854 movea.l A4, [A4]
label000005BE:
000005BE 200C move.l D0, A4
000005C0 66E2 bne -0x1C /* 000005A4 */
000005C2 2007 move.l D0, D7
000005C4 4CEE 1880 FFF0 movem.l D7,A3,A4, [A6 - 0x10]
000005CA 4E5E unlink A6
000005CC 4E75 rts
export_10:
fn000005CE:
000005CE 4E56 FE94 link A6, -0x016C
000005D2 48E7 0318 movem.l -[A7], D6,D7,A3,A4
000005D6 286E 0010 movea.l A4, [A6 + 0x10]
000005DA 47EE FF00 lea.l A3, [A6 - 0x100]
000005DE 4214 clr.b [A4]
000005E0 2E2E 000C move.l D7, [A6 + 0xC]
000005E4 7000 moveq.l D0, 0x00
000005E6 2D40 FEA0 move.l [A6 - 0x160], D0
000005EA 2D4B FEA6 move.l [A6 - 0x15A], A3
000005EE 3D6E 000A FEAA move.w [A6 - 0x156], [A6 + 0xA]
000005F4 3D7C FFFF FEB0 move.w [A6 - 0x150], 0xFFFF
label000005FA:
000005FA 2D47 FEC4 move.l [A6 - 0x13C], D7
000005FE 558F subq.l A7, 2
00000600 486E FE94 pea.l [A6 - 0x16C]
00000604 7000 moveq.l D0, 0x00
00000606 1F00 move.b -[A7], D0
00000608 4EBA 637A jsr [PC + 0x637A /* 00006984 */]
0000060C 4A5F tst.w [A7]+
0000060E 6704 beq +0x6 /* 00000614 */
00000610 7000 moveq.l D0, 0x00
00000612 6044 bra +0x46 /* 00000658 */
label00000614:
00000614 2C07 move.l D6, D7
00000616 2E2E FEF8 move.l D7, [A6 - 0x108]
0000061A 5213 addq.b [A3], 1
0000061C 7000 moveq.l D0, 0x00
0000061E 1013 move.b D0, [A3]
00000620 17BC 003A 0000 move.b [A3 + D0.w], 0x3A /* ':' */
00000626 7000 moveq.l D0, 0x00
00000628 1013 move.b D0, [A3]
0000062A 7200 moveq.l D1, 0x00
0000062C 1214 move.b D1, [A4]
0000062E D280 add.l D1, D0
00000630 0C81 0000 00FF cmpi.l D1, 0xFF
00000636 6D04 blt +0x6 /* 0000063C */
00000638 7000 moveq.l D0, 0x00
0000063A 601C bra +0x1E /* 00000658 */
label0000063C:
0000063C 2F0C move.l -[A7], A4
0000063E 2F0B move.l -[A7], A3
00000640 4EAD 1B1A jsr [A5 + 0x1B1A /* export_863 */]
00000644 2F0B move.l -[A7], A3
00000646 2F0C move.l -[A7], A4
00000648 4EAD 1B22 jsr [A5 + 0x1B22 /* export_864 */]
0000064C 4FEF 0010 lea.l A7, [A7 + 0x10]
00000650 7002 moveq.l D0, 0x02
00000652 B086 cmp.l D0, D6
00000654 66A4 bne -0x5A /* 000005FA */
00000656 7001 moveq.l D0, 0x01
label00000658:
00000658 4CEE 18C0 FE84 movem.l D6,D7,A3,A4, [A6 - 0x17C]
0000065E 4E5E unlink A6
00000660 4E75 rts
export_11:
00000662 4E56 FFCC link A6, -0x0034
00000666 48E7 0018 movem.l -[A7], A3,A4
0000066A 286E 000C movea.l A4, [A6 + 0xC]
0000066E 266E 0008 movea.l A3, [A6 + 0x8]
00000672 4A14 tst.b [A4]
00000674 6604 bne +0x6 /* 0000067A */
00000676 7000 moveq.l D0, 0x00
00000678 6076 bra +0x78 /* 000006F0 */
label0000067A:
0000067A 3D6C 0006 FFE2 move.w [A6 - 0x1E], [A4 + 0x6]
00000680 7000 moveq.l D0, 0x00
00000682 2D40 FFD8 move.l [A6 - 0x28], D0
00000686 426E FFEC clr.w [A6 - 0x14]
0000068A 2D40 FFE8 move.l [A6 - 0x18], D0
0000068E 3D40 FFE6 move.w [A6 - 0x1A], D0
00000692 2D4B FFDE move.l [A6 - 0x22], A3
00000696 558F subq.l A7, 2
00000698 486E FFCC pea.l [A6 - 0x34]
0000069C 7200 moveq.l D1, 0x00
0000069E 1F01 move.b -[A7], D1
000006A0 4EBA 62B6 jsr [PC + 0x62B6 /* 00006958 */]
000006A4 4A5F tst.w [A7]+
000006A6 6704 beq +0x6 /* 000006AC */
000006A8 7000 moveq.l D0, 0x00
000006AA 6044 bra +0x46 /* 000006F0 */
label000006AC:
000006AC 2F0B move.l -[A7], A3
000006AE 2F2E FFFC move.l -[A7], [A6 - 0x4]
000006B2 302E FFEC move.w D0, [A6 - 0x14]
000006B6 48C0 ext.l D0
000006B8 2F00 move.l -[A7], D0
000006BA 4EBA FF12 jsr [PC - 0xEE /* 000005CE */]
000006BE 4A40 tst.w D0
000006C0 4FEF 000C lea.l A7, [A7 + 0xC]
000006C4 6604 bne +0x6 /* 000006CA */
000006C6 7000 moveq.l D0, 0x00
000006C8 6026 bra +0x28 /* 000006F0 */
label000006CA:
000006CA 7000 moveq.l D0, 0x00
000006CC 102C 000A move.b D0, [A4 + 0xA]
000006D0 7200 moveq.l D1, 0x00
000006D2 1213 move.b D1, [A3]
000006D4 D280 add.l D1, D0
000006D6 0C81 0000 00FF cmpi.l D1, 0xFF
000006DC 6D04 blt +0x6 /* 000006E2 */
000006DE 7000 moveq.l D0, 0x00
000006E0 600E bra +0x10 /* 000006F0 */
label000006E2:
000006E2 486C 000A pea.l [A4 + 0xA]
000006E6 2F0B move.l -[A7], A3
000006E8 4EAD 1B1A jsr [A5 + 0x1B1A /* export_863 */]
000006EC 7001 moveq.l D0, 0x01
000006EE 508F addq.l A7, 8
label000006F0:
000006F0 4CEE 1800 FFC4 movem.l A3,A4, [A6 - 0x3C]
000006F6 4E5E unlink A6
000006F8 4E75 rts
export_12:
000006FA 4E56 FEE2 link A6, -0x011E
000006FE 48E7 1118 movem.l -[A7], D3,D7,A3,A4
00000702 286E 000A movea.l A4, [A6 + 0xA]
00000706 47EE FEF0 lea.l A3, [A6 - 0x110]
0000070A 4A6D AF36 tst.w [A5 - 0x50CA]
0000070E 670E beq +0x10 /* 0000071E */
00000710 2F2D AF2E move.l -[A7], [A5 - 0x50D2]
00000714 3F2D AF36 move.w -[A7], [A5 - 0x50CA]
00000718 2F0B move.l -[A7], A3
0000071A A946 syscall GetMenuItemText/GetItem
0000071C 6002 bra +0x4 /* 00000720 */
label0000071E:
0000071E 4213 clr.b [A3]
label00000720:
00000720 2F0C move.l -[A7], A4
00000722 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000726 486E FEE2 pea.l [A6 - 0x11E]
0000072A 486E FEE4 pea.l [A6 - 0x11C]
0000072E 486E FEE8 pea.l [A6 - 0x118]
00000732 A98D syscall GetDialogItem/GetDItem
00000734 486E FEE8 pea.l [A6 - 0x118]
00000738 A8A3 syscall EraseRect
0000073A 486E FEE8 pea.l [A6 - 0x118]
0000073E 70FF moveq.l D0, 0xFFFFFFFF
00000740 3F00 move.w -[A7], D0
00000742 3F00 move.w -[A7], D0
00000744 A8A9 syscall InsetRect
00000746 302E FEEE move.w D0, [A6 - 0x112]
0000074A 906E FEEA sub.w D0, [A6 - 0x116]
0000074E 907C 0012 sub.w D0, 0x12
00000752 3D40 FEE2 move.w [A6 - 0x11E], D0
00000756 558F subq.l A7, 2
00000758 2F0B move.l -[A7], A3
0000075A A88C syscall StringWidth
0000075C 301F move.w D0, [A7]+
0000075E B06E FEE2 cmp.w D0, [A6 - 0x11E]
00000762 6F3E ble +0x40 /* 000007A2 */
00000764 558F subq.l A7, 2
00000766 702E moveq.l D0, 0x2E
00000768 3F00 move.w -[A7], D0
0000076A A88D syscall CharWidth
0000076C 301F move.w D0, [A7]+
0000076E 48C0 ext.l D0
00000770 2200 move.l D1, D0
00000772 D080 add.l D0, D0
00000774 D081 add.l D0, D1
00000776 916E FEE2 sub.w [A6 - 0x11E], D0
label0000077A:
0000077A 5313 subq.b [A3], 1
0000077C 670E beq +0x10 /* 0000078C */
0000077E 558F subq.l A7, 2
00000780 2F0B move.l -[A7], A3
00000782 A88C syscall StringWidth
00000784 301F move.w D0, [A7]+
00000786 B06E FEE2 cmp.w D0, [A6 - 0x11E]
0000078A 6EEE bgt -0x10 /* 0000077A */
label0000078C:
0000078C 4247 clr.w D7
0000078E 7603 moveq.l D3, 0x03
label00000790:
00000790 5213 addq.b [A3], 1
00000792 1013 move.b D0, [A3]
00000794 4880 ext.w D0
00000796 17BC 002E 0000 move.b [A3 + D0.w], 0x2E /* '.' */
0000079C 5247 addq.w D7, 1
0000079E B647 cmp.w D3, D7
000007A0 6EEE bgt -0x10 /* 00000790 */
label000007A2:
000007A2 486E FEE8 pea.l [A6 - 0x118]
000007A6 A8A1 syscall FrameRect
000007A8 3F2E FEEE move.w -[A7], [A6 - 0x112]
000007AC 302E FEE8 move.w D0, [A6 - 0x118]
000007B0 5240 addq.w D0, 1
000007B2 3F00 move.w -[A7], D0
000007B4 A893 syscall MoveTo
000007B6 2F2E FEEC move.l -[A7], [A6 - 0x114]
000007BA A891 syscall LineTo
000007BC 302E FEEA move.w D0, [A6 - 0x116]
000007C0 5240 addq.w D0, 1
000007C2 3F00 move.w -[A7], D0
000007C4 3F2E FEEC move.w -[A7], [A6 - 0x114]
000007C8 A891 syscall LineTo
000007CA 558F subq.l A7, 2
000007CC 7001 moveq.l D0, 0x01
000007CE 3F00 move.w -[A7], D0
000007D0 486E FFF0 pea.l [A6 - 0x10]
000007D4 4EBA 65AA jsr [PC + 0x65AA /* 00006D80 */]
000007D8 0C6E 0604 FFF4 cmpi.w [A6 - 0xC], 0x604
000007DE 548F addq.l A7, 2
000007E0 6C16 bge +0x18 /* 000007F8 */
000007E2 302E FEEA move.w D0, [A6 - 0x116]
000007E6 D07C 000D add.w D0, 0xD /* '\r' */
000007EA 3F00 move.w -[A7], D0
000007EC 302E FEEC move.w D0, [A6 - 0x114]
000007F0 5B40 subq.w D0, 5
000007F2 3F00 move.w -[A7], D0
000007F4 A893 syscall MoveTo
000007F6 6014 bra +0x16 /* 0000080C */
label000007F8:
000007F8 302E FEEA move.w D0, [A6 - 0x116]
000007FC D07C 000F add.w D0, 0xF
00000800 3F00 move.w -[A7], D0
00000802 302E FEEC move.w D0, [A6 - 0x114]
00000806 5B40 subq.w D0, 5
00000808 3F00 move.w -[A7], D0
0000080A A893 syscall MoveTo
label0000080C:
0000080C 2F0B move.l -[A7], A3
0000080E A884 syscall DrawString
00000810 4CEE 1888 FED2 movem.l D3,D7,A3,A4, [A6 - 0x12E]
00000816 4E5E unlink A6
00000818 205F movea.l A0, [A7]+
0000081A 5C4F addq.w A7, 6
0000081C 4ED0 jmp [A0]
fn0000081E:
0000081E 4E56 FFB0 link A6, -0x0050
00000822 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00000826 49ED AECC lea.l A4, [A5 - 0x5134]
0000082A 3E2E 000E move.w D7, [A6 + 0xE]
0000082E 266E 0008 movea.l A3, [A6 + 0x8]
00000832 3C2B 0016 move.w D6, [A3 + 0x16]
00000836 0C46 0001 cmpi.w D6, 0x1
0000083A 6F10 ble +0x12 /* 0000084C */
0000083C 0C46 0004 cmpi.w D6, 0x4
00000840 6604 bne +0x6 /* 00000846 */
00000842 7000 moveq.l D0, 0x00
00000844 6002 bra +0x4 /* 00000848 */
label00000846:
00000846 7001 moveq.l D0, 0x01
label00000848:
00000848 3740 0016 move.w [A3 + 0x16], D0
label0000084C:
0000084C 7000 moveq.l D0, 0x00
0000084E 2D40 FFBC move.l [A6 - 0x44], D0
00000852 2D6B 000C FFC2 move.l [A6 - 0x3E], [A3 + 0xC]
00000858 3D47 FFC6 move.w [A6 - 0x3A], D7
0000085C 422E FFCA clr.b [A6 - 0x36]
00000860 322B 0016 move.w D1, [A3 + 0x16]
00000864 1D74 1000 FFCB move.b [A6 - 0x35], [A4 + D1.w]
0000086A 2D40 FFCC move.l [A6 - 0x34], D0
0000086E 558F subq.l A7, 2
00000870 486E FFB0 pea.l [A6 - 0x50]
00000874 7200 moveq.l D1, 0x00
00000876 1F01 move.b -[A7], D1
00000878 4EBA 5DD0 jsr [PC + 0x5DD0 /* 0000664A */]
0000087C 3B5F AF2C move.w [A5 - 0x50D4], [A7]+
00000880 302D AF2C move.w D0, [A5 - 0x50D4]
00000884 0440 FFCA subi.w D0, 0xFFCA
00000888 6740 beq +0x42 /* 000008CA */
0000088A 5B40 subq.w D0, 5
0000088C 673C beq +0x3E /* 000008CA */
0000088E 5540 subq.w D0, 2
00000890 6738 beq +0x3A /* 000008CA */
00000892 5340 subq.w D0, 1
00000894 6734 beq +0x36 /* 000008CA */
00000896 5340 subq.w D0, 1
00000898 6730 beq +0x32 /* 000008CA */
0000089A 5340 subq.w D0, 1
0000089C 672C beq +0x2E /* 000008CA */
0000089E 5340 subq.w D0, 1
000008A0 6728 beq +0x2A /* 000008CA */
000008A2 5D40 subq.w D0, 6
000008A4 671C beq +0x1E /* 000008C2 */
000008A6 0440 0025 subi.w D0, 0x25 /* '%' */
000008AA 6642 bne +0x44 /* 000008EE */
000008AC 302E FFC8 move.w D0, [A6 - 0x38]
000008B0 48C0 ext.l D0
000008B2 2680 move.l [A3], D0
000008B4 006B 0001 0018 ori.w [A3 + 0x18], 0x1
000008BA 7000 moveq.l D0, 0x00
000008BC 2B40 E5C8 move.l [A5 - 0x1A38], D0
000008C0 6032 bra +0x34 /* 000008F4 */
label000008C2:
000008C2 7006 moveq.l D0, 0x06
000008C4 2B40 E5C8 move.l [A5 - 0x1A38], D0
000008C8 602A bra +0x2C /* 000008F4 */
label000008CA:
000008CA 7001 moveq.l D0, 0x01
000008CC B06B 0016 cmp.w D0, [A3 + 0x16]
000008D0 6608 bne +0xA /* 000008DA */
000008D2 426B 0016 clr.w [A3 + 0x16]
000008D6 6000 FF74 bra -0x8A /* 0000084C */
label000008DA:
000008DA 302D AF2C move.w D0, [A5 - 0x50D4]
000008DE 48C0 ext.l D0
000008E0 72CA moveq.l D1, 0xFFFFFFCA
000008E2 B280 cmp.l D1, D0
000008E4 6608 bne +0xA /* 000008EE */
000008E6 7008 moveq.l D0, 0x08
000008E8 2B40 E5C8 move.l [A5 - 0x1A38], D0
000008EC 6006 bra +0x8 /* 000008F4 */
label000008EE:
000008EE 7005 moveq.l D0, 0x05
000008F0 2B40 E5C8 move.l [A5 - 0x1A38], D0
label000008F4:
000008F4 4AAD E5C8 tst.l [A5 - 0x1A38]
000008F8 6704 beq +0x6 /* 000008FE */
000008FA 3746 0016 move.w [A3 + 0x16], D6
label000008FE:
000008FE 202D E5C8 move.l D0, [A5 - 0x1A38]
00000902 4CEE 18C0 FFA0 movem.l D6,D7,A3,A4, [A6 - 0x60]
00000908 4E5E unlink A6
0000090A 4E75 rts
export_13:
fn0000090C:
0000090C 4E56 FFC4 link A6, -0x003C
00000910 48E7 0118 movem.l -[A7], D7,A3,A4
00000914 49ED AED2 lea.l A4, [A5 - 0x512E]
00000918 266E 0008 movea.l A3, [A6 + 0x8]
0000091C 3E2B 0016 move.w D7, [A3 + 0x16]
label00000920:
00000920 7034 moveq.l D0, 0x34
00000922 2F00 move.l -[A7], D0
00000924 486E FFC4 pea.l [A6 - 0x3C]
00000928 4EAD 1B02 jsr [A5 + 0x1B02 /* export_860 */]
0000092C 2D6B 000C FFD6 move.l [A6 - 0x2A], [A3 + 0xC]
00000932 558F subq.l A7, 2
00000934 2F2B 000C move.l -[A7], [A3 + 0xC]
00000938 7000 moveq.l D0, 0x00
0000093A 2F00 move.l -[A7], D0
0000093C 2F2D B1F8 move.l -[A7], [A5 - 0x4E08]
00000940 486E FFF8 pea.l [A6 - 0x8]
00000944 486E FFFA pea.l [A6 - 0x6]
00000948 486E FFFC pea.l [A6 - 0x4]
0000094C 4EBA 492E jsr [PC + 0x492E /* 0000527C */]
00000950 4A1F tst.b [A7]+
00000952 508F addq.l A7, 8
00000954 6708 beq +0xA /* 0000095E */
00000956 3D6E FFF8 FFDA move.w [A6 - 0x26], [A6 - 0x8]
0000095C 6006 bra +0x8 /* 00000964 */
label0000095E:
0000095E 3D6D AF2A FFDA move.w [A6 - 0x26], [A5 - 0x50D6]
label00000964:
00000964 302B 0016 move.w D0, [A3 + 0x16]
00000968 7200 moveq.l D1, 0x00
0000096A 1234 0000 move.b D1, [A4 + D0.w]
0000096E 3D41 FFDE move.w [A6 - 0x22], D1
00000972 558F subq.l A7, 2
00000974 486E FFC4 pea.l [A6 - 0x3C]
00000978 7000 moveq.l D0, 0x00
0000097A 1F00 move.b -[A7], D0
0000097C 4EBA 60FA jsr [PC + 0x60FA /* 00006A78 */]
00000980 3B5F AF2C move.w [A5 - 0x50D4], [A7]+
00000984 302D AF2C move.w D0, [A5 - 0x50D4]
00000988 0440 EC78 subi.w D0, 0xEC78
0000098C 6736 beq +0x38 /* 000009C4 */
0000098E 0440 1352 subi.w D0, 0x1352
00000992 6730 beq +0x32 /* 000009C4 */
00000994 5B40 subq.w D0, 5
00000996 672C beq +0x2E /* 000009C4 */
00000998 5540 subq.w D0, 2
0000099A 6728 beq +0x2A /* 000009C4 */
0000099C 5340 subq.w D0, 1
0000099E 6724 beq +0x26 /* 000009C4 */
000009A0 5340 subq.w D0, 1
000009A2 6720 beq +0x22 /* 000009C4 */
000009A4 5340 subq.w D0, 1
000009A6 671C beq +0x1E /* 000009C4 */
000009A8 0440 002C subi.w D0, 0x2C /* ',' */
000009AC 6636 bne +0x38 /* 000009E4 */
000009AE 7000 moveq.l D0, 0x00
000009B0 2B40 E5C8 move.l [A5 - 0x1A38], D0
000009B4 322E FFDC move.w D1, [A6 - 0x24]
000009B8 48C1 ext.l D1
000009BA 2681 move.l [A3], D1
000009BC 006B 0001 0018 ori.w [A3 + 0x18], 0x1
000009C2 6026 bra +0x28 /* 000009EA */
label000009C4:
000009C4 7002 moveq.l D0, 0x02
000009C6 B06B 0016 cmp.w D0, [A3 + 0x16]
000009CA 6706 beq +0x8 /* 000009D2 */
000009CC 4A6B 0016 tst.w [A3 + 0x16]
000009D0 660A bne +0xC /* 000009DC */
label000009D2:
000009D2 377C 0004 0016 move.w [A3 + 0x16], 0x4
000009D8 6000 FF46 bra -0xB8 /* 00000920 */
label000009DC:
000009DC 7008 moveq.l D0, 0x08
000009DE 2B40 E5C8 move.l [A5 - 0x1A38], D0
000009E2 6006 bra +0x8 /* 000009EA */
label000009E4:
000009E4 7005 moveq.l D0, 0x05
000009E6 2B40 E5C8 move.l [A5 - 0x1A38], D0
label000009EA:
000009EA 7005 moveq.l D0, 0x05
000009EC B0AD E5C8 cmp.l D0, [A5 - 0x1A38]
000009F0 6614 bne +0x16 /* 00000A06 */
000009F2 3747 0016 move.w [A3 + 0x16], D7
000009F6 302E FFDA move.w D0, [A6 - 0x26]
000009FA 48C0 ext.l D0
000009FC 2F00 move.l -[A7], D0
000009FE 2F0B move.l -[A7], A3
00000A00 4EBA FE1C jsr [PC - 0x1E4 /* 0000081E */]
00000A04 508F addq.l A7, 8
label00000A06:
00000A06 4AAD E5C8 tst.l [A5 - 0x1A38]
00000A0A 6610 bne +0x12 /* 00000A1C */
00000A0C 7010 moveq.l D0, 0x10
00000A0E C06B 0018 and.w D0, [A3 + 0x18]
00000A12 6708 beq +0xA /* 00000A1C */
00000A14 2F0B move.l -[A7], A3
00000A16 4EBA 0012 jsr [PC + 0x12 /* 00000A2A */]
00000A1A 588F addq.l A7, 4
label00000A1C:
00000A1C 202D E5C8 move.l D0, [A5 - 0x1A38]
00000A20 4CEE 1880 FFB8 movem.l D7,A3,A4, [A6 - 0x48]
00000A26 4E5E unlink A6
00000A28 4E75 rts
fn00000A2A:
00000A2A 4E56 FEE8 link A6, -0x0118
00000A2E 48E7 0118 movem.l -[A7], D7,A3,A4
00000A32 49ED AECC lea.l A4, [A5 - 0x5134]
00000A36 266E 0008 movea.l A3, [A6 + 0x8]
00000A3A 558F subq.l A7, 2
00000A3C 2F2B 000C move.l -[A7], [A3 + 0xC]
00000A40 7000 moveq.l D0, 0x00
00000A42 2F00 move.l -[A7], D0
00000A44 2F2D B1F8 move.l -[A7], [A5 - 0x4E08]
00000A48 486E FFF8 pea.l [A6 - 0x8]
00000A4C 486E FFFA pea.l [A6 - 0x6]
00000A50 486E FFFC pea.l [A6 - 0x4]
00000A54 4EBA 4826 jsr [PC + 0x4826 /* 0000527C */]
00000A58 4A1F tst.b [A7]+
00000A5A 6606 bne +0x8 /* 00000A62 */
00000A5C 3D6D AF2A FFF8 move.w [A6 - 0x8], [A5 - 0x50D6]
label00000A62:
00000A62 7001 moveq.l D0, 0x01
00000A64 B06B 0016 cmp.w D0, [A3 + 0x16]
00000A68 6604 bne +0x6 /* 00000A6E */
00000A6A 7001 moveq.l D0, 0x01
00000A6C 6002 bra +0x4 /* 00000A70 */
label00000A6E:
00000A6E 7000 moveq.l D0, 0x00
label00000A70:
00000A70 3E00 move.w D7, D0
00000A72 558F subq.l A7, 2
00000A74 2F2B 000C move.l -[A7], [A3 + 0xC]
00000A78 3F2E FFF8 move.w -[A7], [A6 - 0x8]
00000A7C 1F34 7000 move.b -[A7], [A4 + D7.w]
00000A80 A9C4 syscall OpenRFPerm
00000A82 301F move.w D0, [A7]+
00000A84 48C0 ext.l D0
00000A86 2740 0004 move.l [A3 + 0x4], D0
00000A8A 72FF moveq.l D1, 0xFFFFFFFF
00000A8C B280 cmp.l D1, D0
00000A8E 6606 bne +0x8 /* 00000A96 */
00000A90 7000 moveq.l D0, 0x00
00000A92 2740 0004 move.l [A3 + 0x4], D0
label00000A96:
00000A96 558F subq.l A7, 2
00000A98 A9AF syscall ResError
00000A9A 3B5F AF2C move.w [A5 - 0x50D4], [A7]+
00000A9E 302D AF2C move.w D0, [A5 - 0x50D4]
00000AA2 0440 FF3F subi.w D0, 0xFF3F
00000AA6 6712 beq +0x14 /* 00000ABA */
00000AA8 0440 0096 subi.w D0, 0x96
00000AAC 670C beq +0xE /* 00000ABA */
00000AAE 5940 subq.w D0, 4
00000AB0 6708 beq +0xA /* 00000ABA */
00000AB2 0440 0027 subi.w D0, 0x27 /* '\'' */
00000AB6 6708 beq +0xA /* 00000AC0 */
00000AB8 6076 bra +0x78 /* 00000B30 */
label00000ABA:
00000ABA 426D AF2C clr.w [A5 - 0x50D4]
00000ABE 6070 bra +0x72 /* 00000B30 */
label00000AC0:
00000AC0 558F subq.l A7, 2
00000AC2 A81C syscall Count1Types
00000AC4 7001 moveq.l D0, 0x01
00000AC6 B05F cmp.w D0, [A7]+
00000AC8 6666 bne +0x68 /* 00000B30 */
00000ACA 486E FEF0 pea.l [A6 - 0x110]
00000ACE 7001 moveq.l D0, 0x01
00000AD0 3F00 move.w -[A7], D0
00000AD2 A80F syscall Get1IndType/Get1IxType
00000AD4 0CAE 5354 5220 FEF0 cmpi.l [A6 - 0x110], 0x53545220 /* 'STR ' */
00000ADC 6652 bne +0x54 /* 00000B30 */
00000ADE 558F subq.l A7, 2
00000AE0 2F2E FEF0 move.l -[A7], [A6 - 0x110]
00000AE4 A80D syscall Count1Resources
00000AE6 7001 moveq.l D0, 0x01
00000AE8 B05F cmp.w D0, [A7]+
00000AEA 6644 bne +0x46 /* 00000B30 */
00000AEC 598F subq.l A7, 4
00000AEE 2F2E FEF0 move.l -[A7], [A6 - 0x110]
00000AF2 7001 moveq.l D0, 0x01
00000AF4 3F00 move.w -[A7], D0
00000AF6 A80E syscall Get1IndResource/Get1IxResource
00000AF8 2D5F FEEC move.l [A6 - 0x114], [A7]+
00000AFC 558F subq.l A7, 2
00000AFE A9AF syscall ResError
00000B00 4A5F tst.w [A7]+
00000B02 662C bne +0x2E /* 00000B30 */
00000B04 2F2E FEEC move.l -[A7], [A6 - 0x114]
00000B08 486E FEF4 pea.l [A6 - 0x10C]
00000B0C 486E FEF0 pea.l [A6 - 0x110]
00000B10 486E FEF8 pea.l [A6 - 0x108]
00000B14 A9A8 syscall GetResInfo
00000B16 302E FEF4 move.w D0, [A6 - 0x10C]
00000B1A 48C0 ext.l D0
00000B1C 0C80 FFFF BFF4 cmpi.l D0, 0xFFFFBFF4
00000B22 660C bne +0xE /* 00000B30 */
00000B24 3F2B 0006 move.w -[A7], [A3 + 0x6]
00000B28 A99A syscall CloseResFile
00000B2A 7000 moveq.l D0, 0x00
00000B2C 2740 0004 move.l [A3 + 0x4], D0
label00000B30:
00000B30 4EBA 0CA4 jsr [PC + 0xCA4 /* 000017D6 */]
00000B34 4CEE 1880 FEDC movem.l D7,A3,A4, [A6 - 0x124]
00000B3A 4E5E unlink A6
00000B3C 4E75 rts
export_14:
fn00000B3E:
00000B3E 48E7 0018 movem.l -[A7], A3,A4
00000B42 49ED AED8 lea.l A4, [A5 - 0x5128]
00000B46 266F 000C movea.l A3, [A7 + 0xC]
00000B4A 2F2B 000C move.l -[A7], [A3 + 0xC]
00000B4E 4EBA 0086 jsr [PC + 0x86 /* 00000BD6 */]
00000B52 4A80 tst.l D0
00000B54 588F addq.l A7, 4
00000B56 6706 beq +0x8 /* 00000B5E */
00000B58 202D E5C8 move.l D0, [A5 - 0x1A38]
00000B5C 6072 bra +0x74 /* 00000BD0 */
label00000B5E:
00000B5E 558F subq.l A7, 2
00000B60 2F2B 000C move.l -[A7], [A3 + 0xC]
00000B64 3F2D AF2A move.w -[A7], [A5 - 0x50D6]
00000B68 4EBA 5CA4 jsr [PC + 0x5CA4 /* 0000680E */]
00000B6C 3B5F AF2C move.w [A5 - 0x50D4], [A7]+
00000B70 670C beq +0xE /* 00000B7E */
00000B72 302D AF2C move.w D0, [A5 - 0x50D4]
00000B76 48C0 ext.l D0
00000B78 72D5 moveq.l D1, 0xFFFFFFD5
00000B7A B280 cmp.l D1, D0
00000B7C 664C bne +0x4E /* 00000BCA */
label00000B7E:
00000B7E 558F subq.l A7, 2
00000B80 2F2B 000C move.l -[A7], [A3 + 0xC]
00000B84 3F2D AF2A move.w -[A7], [A5 - 0x50D6]
00000B88 302B 0014 move.w D0, [A3 + 0x14]
00000B8C E540 asl D0.w, 2
00000B8E 2F34 0000 move.l -[A7], [A4 + D0.w]
00000B92 302B 0014 move.w D0, [A3 + 0x14]
00000B96 E540 asl D0.w, 2
00000B98 41ED AEFC lea.l A0, [A5 - 0x5104]
00000B9C 2F30 0000 move.l -[A7], [A0 + D0.w]
00000BA0 4EBA 5C2C jsr [PC + 0x5C2C /* 000067CE */]
00000BA4 3B5F AF2C move.w [A5 - 0x50D4], [A7]+
00000BA8 6620 bne +0x22 /* 00000BCA */
00000BAA 2F0B move.l -[A7], A3
00000BAC 4EBA FD5E jsr [PC - 0x2A2 /* 0000090C */]
00000BB0 4A80 tst.l D0
00000BB2 588F addq.l A7, 4
00000BB4 6604 bne +0x6 /* 00000BBA */
00000BB6 7000 moveq.l D0, 0x00
00000BB8 6016 bra +0x18 /* 00000BD0 */
label00000BBA:
00000BBA 558F subq.l A7, 2
00000BBC 2F2B 000C move.l -[A7], [A3 + 0xC]
00000BC0 3F2D AF2A move.w -[A7], [A5 - 0x50D6]
00000BC4 4EBA 5C48 jsr [PC + 0x5C48 /* 0000680E */]
00000BC8 548F addq.l A7, 2
label00000BCA:
00000BCA 7005 moveq.l D0, 0x05
00000BCC 2B40 E5C8 move.l [A5 - 0x1A38], D0
label00000BD0:
00000BD0 4CDF 1800 movem.l A3,A4, [A7]+
00000BD4 4E75 rts
fn00000BD6:
00000BD6 4E56 FFF0 link A6, -0x0010
00000BDA 48E7 1118 movem.l -[A7], D3,D7,A3,A4
00000BDE 286E 0008 movea.l A4, [A6 + 0x8]
00000BE2 47ED AEFC lea.l A3, [A5 - 0x5104]
00000BE6 558F subq.l A7, 2
00000BE8 2F0C move.l -[A7], A4
00000BEA 3F2D AF2A move.w -[A7], [A5 - 0x50D6]
00000BEE 486E FFF0 pea.l [A6 - 0x10]
00000BF2 4EBA 5B3A jsr [PC + 0x5B3A /* 0000672E */]
00000BF6 3B5F AF2C move.w [A5 - 0x50D4], [A7]+
00000BFA 662A bne +0x2C /* 00000C26 */
00000BFC 4247 clr.w D7
00000BFE 7609 moveq.l D3, 0x09
label00000C00:
00000C00 2007 move.l D0, D7
00000C02 E540 asl D0.w, 2
00000C04 222E FFF0 move.l D1, [A6 - 0x10]
00000C08 B2B3 0000 cmp.l D1, [A3 + D0.w]
00000C0C 6706 beq +0x8 /* 00000C14 */
00000C0E 5247 addq.w D7, 1
00000C10 B647 cmp.w D3, D7
00000C12 6EEC bgt -0x12 /* 00000C00 */
label00000C14:
00000C14 0C47 0009 cmpi.w D7, 0x9 /* '\t' */
00000C18 6D04 blt +0x6 /* 00000C1E */
00000C1A 700A moveq.l D0, 0x0A
00000C1C 6002 bra +0x4 /* 00000C20 */
label00000C1E:
00000C1E 7000 moveq.l D0, 0x00
label00000C20:
00000C20 2B40 E5C8 move.l [A5 - 0x1A38], D0
00000C24 6016 bra +0x18 /* 00000C3C */
label00000C26:
00000C26 302D AF2C move.w D0, [A5 - 0x50D4]
00000C2A 48C0 ext.l D0
00000C2C 72D5 moveq.l D1, 0xFFFFFFD5
00000C2E B280 cmp.l D1, D0
00000C30 6604 bne +0x6 /* 00000C36 */
00000C32 7000 moveq.l D0, 0x00
00000C34 6002 bra +0x4 /* 00000C38 */
label00000C36:
00000C36 7005 moveq.l D0, 0x05
label00000C38:
00000C38 2B40 E5C8 move.l [A5 - 0x1A38], D0
label00000C3C:
00000C3C 202D E5C8 move.l D0, [A5 - 0x1A38]
00000C40 4CEE 1888 FFE0 movem.l D3,D7,A3,A4, [A6 - 0x20]
00000C46 4E5E unlink A6
00000C48 4E75 rts
export_15:
00000C4A 4E56 0000 link A6, 0
00000C4E 48E7 0018 movem.l -[A7], A3,A4
00000C52 286E 000C movea.l A4, [A6 + 0xC]
00000C56 266E 0008 movea.l A3, [A6 + 0x8]
00000C5A 2B6E 0010 E5C4 move.l [A5 - 0x1A3C], [A6 + 0x10]
00000C60 558F subq.l A7, 2
00000C62 3F2B 0002 move.w -[A7], [A3 + 0x2]
00000C66 486D E5C4 pea.l [A5 - 0x1A3C]
00000C6A 2F0C move.l -[A7], A4
00000C6C 4EBA 5A76 jsr [PC + 0x5A76 /* 000066E4 */]
00000C70 3B5F AF2C move.w [A5 - 0x50D4], [A7]+
00000C74 4EBA 0B60 jsr [PC + 0xB60 /* 000017D6 */]
00000C78 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00000C7E 4E5E unlink A6
00000C80 4E75 rts
export_16:
fn00000C82:
00000C82 48E7 0118 movem.l -[A7], D7,A3,A4
00000C86 286F 0014 movea.l A4, [A7 + 0x14]
00000C8A 2E2F 0018 move.l D7, [A7 + 0x18]
00000C8E 266F 0010 movea.l A3, [A7 + 0x10]
00000C92 2B47 E5C4 move.l [A5 - 0x1A3C], D7
00000C96 7020 moveq.l D0, 0x20
00000C98 C06B 0018 and.w D0, [A3 + 0x18]
00000C9C 670C beq +0xE /* 00000CAA */
00000C9E DFAB 001A add.l [A3 + 0x1A], D7
00000CA2 7000 moveq.l D0, 0x00
00000CA4 2B40 E5C8 move.l [A5 - 0x1A38], D0
00000CA8 6018 bra +0x1A /* 00000CC2 */
label00000CAA:
00000CAA 558F subq.l A7, 2
00000CAC 3F2B 0002 move.w -[A7], [A3 + 0x2]
00000CB0 486D E5C4 pea.l [A5 - 0x1A3C]
00000CB4 2F0C move.l -[A7], A4
00000CB6 4EBA 5A30 jsr [PC + 0x5A30 /* 000066E8 */]
00000CBA 3B5F AF2C move.w [A5 - 0x50D4], [A7]+
00000CBE 4EBA 0B16 jsr [PC + 0xB16 /* 000017D6 */]
label00000CC2:
00000CC2 202D E5C8 move.l D0, [A5 - 0x1A38]
00000CC6 4CDF 1880 movem.l D7,A3,A4, [A7]+
00000CCA 4E75 rts
export_17:
00000CCC 4E56 FEAC link A6, -0x0154
00000CD0 48E7 0118 movem.l -[A7], D7,A3,A4
00000CD4 49EE FF00 lea.l A4, [A6 - 0x100]
00000CD8 266E 0008 movea.l A3, [A6 + 0x8]
00000CDC 4AAB 0010 tst.l [A3 + 0x10]
00000CE0 6706 beq +0x8 /* 00000CE8 */
00000CE2 202B 0010 move.l D0, [A3 + 0x10]
00000CE6 6004 bra +0x6 /* 00000CEC */
label00000CE8:
00000CE8 202B 000C move.l D0, [A3 + 0xC]
label00000CEC:
00000CEC 2D40 FEFC move.l [A6 - 0x104], D0
00000CF0 2F00 move.l -[A7], D0
00000CF2 2F0C move.l -[A7], A4
00000CF4 4EAD 1B22 jsr [A5 + 0x1B22 /* export_864 */]
00000CF8 2D4C FEBE move.l [A6 - 0x142], A4
00000CFC 426E FEC8 clr.w [A6 - 0x138]
00000D00 426E FEC2 clr.w [A6 - 0x13E]
00000D04 558F subq.l A7, 2
00000D06 486E FEAC pea.l [A6 - 0x154]
00000D0A 7000 moveq.l D0, 0x00
00000D0C 1F00 move.b -[A7], D0
00000D0E 4EBA 5994 jsr [PC + 0x5994 /* 000066A4 */]
00000D12 3B5F AF2C move.w [A5 - 0x50D4], [A7]+
00000D16 302D AF2C move.w D0, [A5 - 0x50D4]
00000D1A 0440 FFD5 subi.w D0, 0xFFD5
00000D1E 508F addq.l A7, 8
00000D20 670C beq +0xE /* 00000D2E */
00000D22 0440 002B subi.w D0, 0x2B /* '+' */
00000D26 6664 bne +0x66 /* 00000D8C */
00000D28 2E2E FEE2 move.l D7, [A6 - 0x11E]
00000D2C 6002 bra +0x4 /* 00000D30 */
label00000D2E:
00000D2E 7E00 moveq.l D7, 0x00
label00000D30:
00000D30 2F0C move.l -[A7], A4
00000D32 2F2E FEFC move.l -[A7], [A6 - 0x104]
00000D36 4EBA 0158 jsr [PC + 0x158 /* 00000E90 */]
00000D3A 3D7C FFFF FEC8 move.w [A6 - 0x138], 0xFFFF
00000D40 3D6D AF2A FEC2 move.w [A6 - 0x13E], [A5 - 0x50D6]
00000D46 2D4C FEBE move.l [A6 - 0x142], A4
00000D4A 558F subq.l A7, 2
00000D4C 486E FEAC pea.l [A6 - 0x154]
00000D50 7000 moveq.l D0, 0x00
00000D52 1F00 move.b -[A7], D0
00000D54 4EBA 592A jsr [PC + 0x592A /* 00006680 */]
00000D58 3B5F AF2C move.w [A5 - 0x50D4], [A7]+
00000D5C 508F addq.l A7, 8
00000D5E 662C bne +0x2E /* 00000D8C */
00000D60 222E FEDC move.l D1, [A6 - 0x124]
00000D64 2001 move.l D0, D1
00000D66 D281 add.l D1, D1
00000D68 D280 add.l D1, D0
00000D6A D2AB 001A add.l D1, [A3 + 0x1A]
00000D6E 7000 moveq.l D0, 0x00
00000D70 302E FEEA move.w D0, [A6 - 0x116]
00000D74 2F01 move.l -[A7], D1
00000D76 222E FEDC move.l D1, [A6 - 0x124]
00000D7A 4EBA 516E jsr [PC + 0x516E /* 00005EEA */]
00000D7E 221F move.l D1, [A7]+
00000D80 D087 add.l D0, D7
00000D82 B081 cmp.l D0, D1
00000D84 6C06 bge +0x8 /* 00000D8C */
00000D86 3B7C FFDE AF2C move.w [A5 - 0x50D4], 0xFFDE
label00000D8C:
00000D8C 4EBA 0A48 jsr [PC + 0xA48 /* 000017D6 */]
00000D90 202D E5C8 move.l D0, [A5 - 0x1A38]
00000D94 4CEE 1880 FEA0 movem.l D7,A3,A4, [A6 - 0x160]
00000D9A 4E5E unlink A6
00000D9C 4E75 rts
export_18:
00000D9E 4E56 0000 link A6, 0
00000DA2 48E7 0018 movem.l -[A7], A3,A4
00000DA6 286E 000C movea.l A4, [A6 + 0xC]
00000DAA 266E 0008 movea.l A3, [A6 + 0x8]
00000DAE 2F2E 0010 move.l -[A7], [A6 + 0x10]
00000DB2 2F0C move.l -[A7], A4
00000DB4 2F0B move.l -[A7], A3
00000DB6 4EBA FECA jsr [PC - 0x136 /* 00000C82 */]
00000DBA 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00000DC0 4E5E unlink A6
00000DC2 4E75 rts
export_19:
fn00000DC4:
00000DC4 4E56 FFFE link A6, -0x0002
00000DC8 2F0B move.l -[A7], A3
00000DCA 266E 0008 movea.l A3, [A6 + 0x8]
00000DCE 302B 0018 move.w D0, [A3 + 0x18]
00000DD2 0800 0000 btst.b D0, 0x0
00000DD6 672E beq +0x30 /* 00000E06 */
00000DD8 558F subq.l A7, 2
00000DDA 3F2B 0002 move.w -[A7], [A3 + 0x2]
00000DDE 486E FFFE pea.l [A6 - 0x2]
00000DE2 4EBA 5B1A jsr [PC + 0x5B1A /* 000068FE */]
00000DE6 558F subq.l A7, 2
00000DE8 3F2B 0002 move.w -[A7], [A3 + 0x2]
00000DEC 4EBA 58DA jsr [PC + 0x58DA /* 000066C8 */]
00000DF0 026B FFFE 0018 andi.w [A3 + 0x18], 0xFFFE
00000DF6 558F subq.l A7, 2
00000DF8 7000 moveq.l D0, 0x00
00000DFA 2F00 move.l -[A7], D0
00000DFC 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000E00 4EBA 59AA jsr [PC + 0x59AA /* 000067AC */]
00000E04 5C8F addq.l A7, 6
label00000E06:
00000E06 266E FFFA movea.l A3, [A6 - 0x6]
00000E0A 4E5E unlink A6
00000E0C 4E75 rts
export_20:
fn00000E0E:
00000E0E 2F0B move.l -[A7], A3
00000E10 266F 0008 movea.l A3, [A7 + 0x8]
00000E14 4AAB 0004 tst.l [A3 + 0x4]
00000E18 672C beq +0x2E /* 00000E46 */
00000E1A 486D 26AA pea.l [A5 + 0x26AA /* export_1233 */]
00000E1E 4EBA 3A88 jsr [PC + 0x3A88 /* 000048A8 */]
00000E22 4A40 tst.w D0
00000E24 588F addq.l A7, 4
00000E26 6712 beq +0x14 /* 00000E3A */
00000E28 2F2B 0004 move.l -[A7], [A3 + 0x4]
00000E2C 4EAD 26AA jsr [A5 + 0x26AA /* export_1233 */]
00000E30 486D 26AA pea.l [A5 + 0x26AA /* export_1233 */]
00000E34 4EBA 3A26 jsr [PC + 0x3A26 /* 0000485C */]
00000E38 508F addq.l A7, 8
label00000E3A:
00000E3A 3F2B 0006 move.w -[A7], [A3 + 0x6]
00000E3E A99A syscall CloseResFile
00000E40 7000 moveq.l D0, 0x00
00000E42 2740 0004 move.l [A3 + 0x4], D0
label00000E46:
00000E46 265F movea.l A3, [A7]+
00000E48 4E75 rts
export_21:
fn00000E4A:
00000E4A 48E7 0118 movem.l -[A7], D7,A3,A4
00000E4E 286F 0014 movea.l A4, [A7 + 0x14]
00000E52 266F 0010 movea.l A3, [A7 + 0x10]
00000E56 7000 moveq.l D0, 0x00
00000E58 1013 move.b D0, [A3]
00000E5A 3E00 move.w D7, D0
00000E5C 6002 bra +0x4 /* 00000E60 */
label00000E5E:
00000E5E 5347 subq.w D7, 1
label00000E60:
00000E60 0C47 0001 cmpi.w D7, 0x1
00000E64 6D08 blt +0xA /* 00000E6E */
00000E66 703A moveq.l D0, 0x3A
00000E68 B033 7000 cmp.b D0, [A3 + D7.w]
00000E6C 66F0 bne -0xE /* 00000E5E */
label00000E6E:
00000E6E 4214 clr.b [A4]
00000E70 600E bra +0x10 /* 00000E80 */
label00000E72:
00000E72 5247 addq.w D7, 1
00000E74 5214 addq.b [A4], 1
00000E76 7000 moveq.l D0, 0x00
00000E78 1014 move.b D0, [A4]
00000E7A 19B3 7000 0000 move.b [A4 + D0.w], [A3 + D7.w]
label00000E80:
00000E80 48C7 ext.l D7
00000E82 7000 moveq.l D0, 0x00
00000E84 1013 move.b D0, [A3]
00000E86 B087 cmp.l D0, D7
00000E88 6EE8 bgt -0x16 /* 00000E72 */
00000E8A 4CDF 1880 movem.l D7,A3,A4, [A7]+
00000E8E 4E75 rts
fn00000E90:
00000E90 48E7 0118 movem.l -[A7], D7,A3,A4
00000E94 286F 0014 movea.l A4, [A7 + 0x14]
00000E98 266F 0010 movea.l A3, [A7 + 0x10]
00000E9C 7000 moveq.l D0, 0x00
00000E9E 1013 move.b D0, [A3]
00000EA0 3E00 move.w D7, D0
00000EA2 6002 bra +0x4 /* 00000EA6 */
label00000EA4:
00000EA4 5347 subq.w D7, 1
label00000EA6:
00000EA6 0C47 0001 cmpi.w D7, 0x1
00000EAA 6D08 blt +0xA /* 00000EB4 */
00000EAC 703A moveq.l D0, 0x3A
00000EAE B033 7000 cmp.b D0, [A3 + D7.w]
00000EB2 66F0 bne -0xE /* 00000EA4 */
label00000EB4:
00000EB4 1887 move.b [A4], D7
00000EB6 6008 bra +0xA /* 00000EC0 */
label00000EB8:
00000EB8 19B3 7000 7000 move.b [A4 + D7.w], [A3 + D7.w]
00000EBE 5347 subq.w D7, 1
label00000EC0:
00000EC0 4A47 tst.w D7
00000EC2 6EF4 bgt -0xA /* 00000EB8 */
00000EC4 4CDF 1880 movem.l D7,A3,A4, [A7]+
00000EC8 4E75 rts
export_22:
00000ECA 4E56 0000 link A6, 0
00000ECE 48E7 0018 movem.l -[A7], A3,A4
00000ED2 286E 0010 movea.l A4, [A6 + 0x10]
00000ED6 266E 0008 movea.l A3, [A6 + 0x8]
00000EDA 2F0B move.l -[A7], A3
00000EDC 4EBA 0076 jsr [PC + 0x76 /* 00000F54 */]
00000EE0 4A40 tst.w D0
00000EE2 588F addq.l A7, 4
00000EE4 6754 beq +0x56 /* 00000F3A */
00000EE6 2F0C move.l -[A7], A4
00000EE8 2F2E 000C move.l -[A7], [A6 + 0xC]
00000EEC 4EBA FFA2 jsr [PC - 0x5E /* 00000E90 */]
00000EF0 703A moveq.l D0, 0x3A
00000EF2 B02B 0001 cmp.b D0, [A3 + 0x1]
00000EF6 508F addq.l A7, 8
00000EF8 6620 bne +0x22 /* 00000F1A */
00000EFA 200B move.l D0, A3
00000EFC 5480 addq.l D0, 2
00000EFE 2F00 move.l -[A7], D0
00000F00 7000 moveq.l D0, 0x00
00000F02 1014 move.b D0, [A4]
00000F04 D08C add.l D0, A4
00000F06 5280 addq.l D0, 1
00000F08 2F00 move.l -[A7], D0
00000F0A 7000 moveq.l D0, 0x00
00000F0C 1013 move.b D0, [A3]
00000F0E 5380 subq.l D0, 1
00000F10 2F00 move.l -[A7], D0
00000F12 4EAD 1B12 jsr [A5 + 0x1B12 /* export_862 */]
00000F16 5314 subq.b [A4], 1
00000F18 601A bra +0x1C /* 00000F34 */
label00000F1A:
00000F1A 200B move.l D0, A3
00000F1C 5280 addq.l D0, 1
00000F1E 2F00 move.l -[A7], D0
00000F20 7000 moveq.l D0, 0x00
00000F22 1014 move.b D0, [A4]
00000F24 D08C add.l D0, A4
00000F26 5280 addq.l D0, 1
00000F28 2F00 move.l -[A7], D0
00000F2A 7000 moveq.l D0, 0x00
00000F2C 1013 move.b D0, [A3]
00000F2E 2F00 move.l -[A7], D0
00000F30 4EAD 1B12 jsr [A5 + 0x1B12 /* export_862 */]
label00000F34:
00000F34 1013 move.b D0, [A3]
00000F36 D114 add.b [A4], D0
00000F38 6010 bra +0x12 /* 00000F4A */
label00000F3A:
00000F3A 2F0B move.l -[A7], A3
00000F3C 2F0C move.l -[A7], A4
00000F3E 7000 moveq.l D0, 0x00
00000F40 1013 move.b D0, [A3]
00000F42 5280 addq.l D0, 1
00000F44 2F00 move.l -[A7], D0
00000F46 4EAD 1B12 jsr [A5 + 0x1B12 /* export_862 */]
label00000F4A:
00000F4A 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00000F50 4E5E unlink A6
00000F52 4E75 rts
fn00000F54:
00000F54 48E7 0310 movem.l -[A7], D6,D7,A3
00000F58 266F 0010 movea.l A3, [A7 + 0x10]
00000F5C 7C01 moveq.l D6, 0x01
00000F5E 703A moveq.l D0, 0x3A
00000F60 B02B 0001 cmp.b D0, [A3 + 0x1]
00000F64 6720 beq +0x22 /* 00000F86 */
00000F66 7000 moveq.l D0, 0x00
00000F68 1013 move.b D0, [A3]
00000F6A 3E00 move.w D7, D0
00000F6C 6002 bra +0x4 /* 00000F70 */
label00000F6E:
00000F6E 5347 subq.w D7, 1
label00000F70:
00000F70 0C47 0002 cmpi.w D7, 0x2
00000F74 6D08 blt +0xA /* 00000F7E */
00000F76 703A moveq.l D0, 0x3A
00000F78 B033 7000 cmp.b D0, [A3 + D7.w]
00000F7C 66F0 bne -0xE /* 00000F6E */
label00000F7E:
00000F7E 0C47 0001 cmpi.w D7, 0x1
00000F82 6702 beq +0x4 /* 00000F86 */
00000F84 4246 clr.w D6
label00000F86:
00000F86 3006 move.w D0, D6
00000F88 4CDF 08C0 movem.l D6,D7,A3, [A7]+
00000F8C 4E75 rts
export_23:
fn00000F8E:
00000F8E 4E56 FE00 link A6, -0x0200
00000F92 48E7 0018 movem.l -[A7], A3,A4
00000F96 286E 000C movea.l A4, [A6 + 0xC]
00000F9A 266E 0008 movea.l A3, [A6 + 0x8]
00000F9E 7007 moveq.l D0, 0x07
00000FA0 2B40 E5C8 move.l [A5 - 0x1A38], D0
00000FA4 721E moveq.l D1, 0x1E
00000FA6 2F01 move.l -[A7], D1
00000FA8 2F0B move.l -[A7], A3
00000FAA 4EAD 1B02 jsr [A5 + 0x1B02 /* export_860 */]
00000FAE 376E 0016 0016 move.w [A3 + 0x16], [A6 + 0x16]
00000FB4 376E 0012 0014 move.w [A3 + 0x14], [A6 + 0x12]
00000FBA 486E FE00 pea.l [A6 - 0x200]
00000FBE 2F0C move.l -[A7], A4
00000FC0 4EBA FE88 jsr [PC - 0x178 /* 00000E4A */]
00000FC4 486E FE00 pea.l [A6 - 0x200]
00000FC8 4EAD 0F02 jsr [A5 + 0xF02 /* export_476 */]
00000FCC 2740 0008 move.l [A3 + 0x8], D0
00000FD0 4FEF 0014 lea.l A7, [A7 + 0x14]
00000FD4 673E beq +0x40 /* 00001014 */
00000FD6 486E FF00 pea.l [A6 - 0x100]
00000FDA 2F0C move.l -[A7], A4
00000FDC 4EBA 0044 jsr [PC + 0x44 /* 00001022 */]
00000FE0 4A40 tst.w D0
00000FE2 508F addq.l A7, 8
00000FE4 6718 beq +0x1A /* 00000FFE */
00000FE6 486E FF00 pea.l [A6 - 0x100]
00000FEA 4EAD 0F02 jsr [A5 + 0xF02 /* export_476 */]
00000FEE 2740 000C move.l [A3 + 0xC], D0
00000FF2 588F addq.l A7, 4
00000FF4 670E beq +0x10 /* 00001004 */
00000FF6 7000 moveq.l D0, 0x00
00000FF8 2B40 E5C8 move.l [A5 - 0x1A38], D0
00000FFC 6006 bra +0x8 /* 00001004 */
label00000FFE:
00000FFE 7006 moveq.l D0, 0x06
00001000 2B40 E5C8 move.l [A5 - 0x1A38], D0
label00001004:
00001004 4AAD E5C8 tst.l [A5 - 0x1A38]
00001008 670A beq +0xC /* 00001014 */
0000100A 486B 0008 pea.l [A3 + 0x8]
0000100E 4EAD 0DB2 jsr [A5 + 0xDB2 /* export_434 */]
00001012 588F addq.l A7, 4
label00001014:
00001014 202D E5C8 move.l D0, [A5 - 0x1A38]
00001018 4CEE 1800 FDF8 movem.l A3,A4, [A6 - 0x208]
0000101E 4E5E unlink A6
00001020 4E75 rts
fn00001022:
00001022 4E56 FD12 link A6, -0x02EE
00001026 48E7 0118 movem.l -[A7], D7,A3,A4
0000102A 286E 0008 movea.l A4, [A6 + 0x8]
0000102E 266E 000C movea.l A3, [A6 + 0xC]
00001032 486E FDF8 pea.l [A6 - 0x208]
00001036 2F0C move.l -[A7], A4
00001038 4EBA FE10 jsr [PC - 0x1F0 /* 00000E4A */]
0000103C 2F0C move.l -[A7], A4
0000103E 2F0B move.l -[A7], A3
00001040 4EAD 1B22 jsr [A5 + 0x1B22 /* export_864 */]
00001044 102E FDF8 move.b D0, [A6 - 0x208]
00001048 9113 sub.b [A3], D0
0000104A 4A13 tst.b [A3]
0000104C 4FEF 0010 lea.l A7, [A7 + 0x10]
00001050 660A bne +0xC /* 0000105C */
00001052 16BC 0001 move.b [A3], 0x1
00001056 177C 003A 0001 move.b [A3 + 0x1], 0x3A /* ':' */
label0000105C:
0000105C 7000 moveq.l D0, 0x00
0000105E 2D40 FD98 move.l [A6 - 0x268], D0
00001062 2D4B FD9E move.l [A6 - 0x262], A3
00001066 558F subq.l A7, 2
00001068 2F0C move.l -[A7], A4
0000106A 2F00 move.l -[A7], D0
0000106C 2F2D B1F8 move.l -[A7], [A5 - 0x4E08]
00001070 486E FFF8 pea.l [A6 - 0x8]
00001074 486E FFFA pea.l [A6 - 0x6]
00001078 486E FFFC pea.l [A6 - 0x4]
0000107C 4EBA 41FE jsr [PC + 0x41FE /* 0000527C */]
00001080 4A1F tst.b [A7]+
00001082 6708 beq +0xA /* 0000108C */
00001084 3D6E FFF8 FDA2 move.w [A6 - 0x25E], [A6 - 0x8]
0000108A 600C bra +0xE /* 00001098 */
label0000108C:
0000108C 3D6D AF2A FFF8 move.w [A6 - 0x8], [A5 - 0x50D6]
00001092 3D6D AF2A FDA2 move.w [A6 - 0x25E], [A5 - 0x50D6]
label00001098:
00001098 422E FDA6 clr.b [A6 - 0x25A]
0000109C 426E FDA8 clr.w [A6 - 0x258]
000010A0 7000 moveq.l D0, 0x00
000010A2 2D40 FDBC move.l [A6 - 0x244], D0
000010A6 558F subq.l A7, 2
000010A8 486E FD8C pea.l [A6 - 0x274]
000010AC 7200 moveq.l D1, 0x00
000010AE 1F01 move.b -[A7], D1
000010B0 4EBA 58D2 jsr [PC + 0x58D2 /* 00006984 */]
000010B4 7000 moveq.l D0, 0x00
000010B6 4A5F tst.w [A7]+
000010B8 57C0 seq D0
000010BA 4400 neg.b D0
000010BC 3E00 move.w D7, D0
000010BE 6770 beq +0x72 /* 00001130 */
000010C0 2F0B move.l -[A7], A3
000010C2 486E FEF8 pea.l [A6 - 0x108]
000010C6 4EAD 1B22 jsr [A5 + 0x1B22 /* export_864 */]
000010CA 7000 moveq.l D0, 0x00
000010CC 2D40 FD1E move.l [A6 - 0x2E2], D0
000010D0 41EE FEF8 lea.l A0, [A6 - 0x108]
000010D4 2D48 FD24 move.l [A6 - 0x2DC], A0
000010D8 3D6E FFF8 FD28 move.w [A6 - 0x2D8], [A6 - 0x8]
000010DE 3D7C FFFF FD2E move.w [A6 - 0x2D2], 0xFFFF
000010E4 7200 moveq.l D1, 0x00
000010E6 2F01 move.l -[A7], D1
000010E8 558F subq.l A7, 2
000010EA 486E FD12 pea.l [A6 - 0x2EE]
000010EE 7400 moveq.l D2, 0x00
000010F0 1F02 move.b -[A7], D2
000010F2 4EBA 58F0 jsr [PC + 0x58F0 /* 000069E4 */]
000010F6 301F move.w D0, [A7]+
000010F8 221F move.l D1, [A7]+
000010FA 4A40 tst.w D0
000010FC 508F addq.l A7, 8
000010FE 6620 bne +0x22 /* 00001120 */
00001100 2F01 move.l -[A7], D1
00001102 2F0B move.l -[A7], A3
00001104 2F2E FDBC move.l -[A7], [A6 - 0x244]
00001108 302E FD28 move.w D0, [A6 - 0x2D8]
0000110C 48C0 ext.l D0
0000110E 2F00 move.l -[A7], D0
00001110 4EBA F4BC jsr [PC - 0xB44 /* 000005CE */]
00001114 4FEF 000C lea.l A7, [A7 + 0xC]
00001118 221F move.l D1, [A7]+
0000111A 4A40 tst.w D0
0000111C 6702 beq +0x4 /* 00001120 */
0000111E 7201 moveq.l D1, 0x01
label00001120:
00001120 3E01 move.w D7, D1
00001122 670C beq +0xE /* 00001130 */
00001124 486E FDF8 pea.l [A6 - 0x208]
00001128 2F0B move.l -[A7], A3
0000112A 4EAD 1B1A jsr [A5 + 0x1B1A /* export_863 */]
0000112E 508F addq.l A7, 8
label00001130:
00001130 3007 move.w D0, D7
00001132 4CEE 1880 FD06 movem.l D7,A3,A4, [A6 - 0x2FA]
00001138 4E5E unlink A6
0000113A 4E75 rts
export_24:
fn0000113C:
0000113C 2F0B move.l -[A7], A3
0000113E 266F 0008 movea.l A3, [A7 + 0x8]
00001142 2F0B move.l -[A7], A3
00001144 4EBA FC7E jsr [PC - 0x382 /* 00000DC4 */]
00001148 2F0B move.l -[A7], A3
0000114A 4EBA FCC2 jsr [PC - 0x33E /* 00000E0E */]
0000114E 486B 000C pea.l [A3 + 0xC]
00001152 4EAD 0DB2 jsr [A5 + 0xDB2 /* export_434 */]
00001156 486B 0008 pea.l [A3 + 0x8]
0000115A 4EAD 0DB2 jsr [A5 + 0xDB2 /* export_434 */]
0000115E 4FEF 0010 lea.l A7, [A7 + 0x10]
00001162 265F movea.l A3, [A7]+
00001164 4E75 rts
export_25:
00001166 4E56 FFFC link A6, -0x0004
0000116A 2F0B move.l -[A7], A3
0000116C 266E 0008 movea.l A3, [A6 + 0x8]
00001170 558F subq.l A7, 2
00001172 3F2B 0002 move.w -[A7], [A3 + 0x2]
00001176 486E FFFC pea.l [A6 - 0x4]
0000117A 4EBA 5736 jsr [PC + 0x5736 /* 000068B2 */]
0000117E 3B5F AF2C move.w [A5 - 0x50D4], [A7]+
00001182 202E FFFC move.l D0, [A6 - 0x4]
00001186 266E FFF8 movea.l A3, [A6 - 0x8]
0000118A 4E5E unlink A6
0000118C 4E75 rts
export_26:
fn0000118E:
0000118E 4E56 0000 link A6, 0
00001192 2F0B move.l -[A7], A3
00001194 266E 0008 movea.l A3, [A6 + 0x8]
00001198 558F subq.l A7, 2
0000119A 3F2B 0002 move.w -[A7], [A3 + 0x2]
0000119E 7001 moveq.l D0, 0x01
000011A0 3F00 move.w -[A7], D0
000011A2 2F2E 000C move.l -[A7], [A6 + 0xC]
000011A6 4EBA 572E jsr [PC + 0x572E /* 000068D6 */]
000011AA 3B5F AF2C move.w [A5 - 0x50D4], [A7]+
000011AE 4EBA 0626 jsr [PC + 0x626 /* 000017D6 */]
000011B2 266E FFFC movea.l A3, [A6 - 0x4]
000011B6 4E5E unlink A6
000011B8 4E75 rts
export_27:
000011BA 4E56 FFFC link A6, -0x0004
000011BE 2F0B move.l -[A7], A3
000011C0 266E 0008 movea.l A3, [A6 + 0x8]
000011C4 558F subq.l A7, 2
000011C6 3F2B 0002 move.w -[A7], [A3 + 0x2]
000011CA 486E FFFC pea.l [A6 - 0x4]
000011CE 4EBA 569C jsr [PC + 0x569C /* 0000686C */]
000011D2 3B5F AF2C move.w [A5 - 0x50D4], [A7]+
000011D6 202E FFFC move.l D0, [A6 - 0x4]
000011DA 266E FFF8 movea.l A3, [A6 - 0x8]
000011DE 4E5E unlink A6
000011E0 4E75 rts
fn000011E2:
000011E2 48E7 0110 movem.l -[A7], D7,A3
000011E6 2E2F 0010 move.l D7, [A7 + 0x10]
000011EA 266F 000C movea.l A3, [A7 + 0xC]
000011EE 2F07 move.l -[A7], D7
000011F0 2F0B move.l -[A7], A3
000011F2 4EBA FF9A jsr [PC - 0x66 /* 0000118E */]
000011F6 558F subq.l A7, 2
000011F8 3F2B 0002 move.w -[A7], [A3 + 0x2]
000011FC 2F07 move.l -[A7], D7
000011FE 4EBA 5690 jsr [PC + 0x5690 /* 00006890 */]
00001202 3B5F AF2C move.w [A5 - 0x50D4], [A7]+
00001206 4EBA 05CE jsr [PC + 0x5CE /* 000017D6 */]
0000120A 508F addq.l A7, 8
0000120C 4CDF 0880 movem.l D7,A3, [A7]+
00001210 4E75 rts
export_28:
00001212 4E56 FFF8 link A6, -0x0008
00001216 2F0B move.l -[A7], A3
00001218 266E 0008 movea.l A3, [A6 + 0x8]
0000121C 558F subq.l A7, 2
0000121E 2F0B move.l -[A7], A3
00001220 7000 moveq.l D0, 0x00
00001222 2F00 move.l -[A7], D0
00001224 2F2D B1F8 move.l -[A7], [A5 - 0x4E08]
00001228 486E FFFE pea.l [A6 - 0x2]
0000122C 486E FFF8 pea.l [A6 - 0x8]
00001230 486E FFFA pea.l [A6 - 0x6]
00001234 4EBA 4046 jsr [PC + 0x4046 /* 0000527C */]
00001238 7000 moveq.l D0, 0x00
0000123A 101F move.b D0, [A7]+
0000123C 266E FFF4 movea.l A3, [A6 - 0xC]
00001240 4E5E unlink A6
00001242 4E75 rts
export_29:
fn00001244:
00001244 4E56 FFF0 link A6, -0x0010
00001248 2F0B move.l -[A7], A3
0000124A 266E 0008 movea.l A3, [A6 + 0x8]
0000124E 7000 moveq.l D0, 0x00
00001250 2F00 move.l -[A7], D0
00001252 558F subq.l A7, 2
00001254 2F0B move.l -[A7], A3
00001256 3F2D AF2A move.w -[A7], [A5 - 0x50D6]
0000125A 486E FFF0 pea.l [A6 - 0x10]
0000125E 4EBA 54CE jsr [PC + 0x54CE /* 0000672E */]
00001262 321F move.w D1, [A7]+
00001264 201F move.l D0, [A7]+
00001266 3B41 AF2C move.w [A5 - 0x50D4], D1
0000126A 57C0 seq D0
0000126C 4400 neg.b D0
0000126E 266E FFEC movea.l A3, [A6 - 0x14]
00001272 4E5E unlink A6
00001274 4E75 rts
export_30:
fn00001276:
00001276 2F0B move.l -[A7], A3
00001278 266F 0008 movea.l A3, [A7 + 0x8]
0000127C 7000 moveq.l D0, 0x00
0000127E 2F00 move.l -[A7], D0
00001280 558F subq.l A7, 2
00001282 2F2B 000C move.l -[A7], [A3 + 0xC]
00001286 3F2D AF2A move.w -[A7], [A5 - 0x50D6]
0000128A 4EBA 5582 jsr [PC + 0x5582 /* 0000680E */]
0000128E 321F move.w D1, [A7]+
00001290 201F move.l D0, [A7]+
00001292 3B41 AF2C move.w [A5 - 0x50D4], D1
00001296 57C0 seq D0
00001298 4400 neg.b D0
0000129A 265F movea.l A3, [A7]+
0000129C 4E75 rts
fn0000129E:
0000129E 4E56 FFB0 link A6, -0x0050
000012A2 48E7 0110 movem.l -[A7], D7,A3
000012A6 266E 0008 movea.l A3, [A6 + 0x8]
000012AA 2E2E 000C move.l D7, [A6 + 0xC]
000012AE 7000 moveq.l D0, 0x00
000012B0 2D40 FFBC move.l [A6 - 0x44], D0
000012B4 3D6B 0002 FFC8 move.w [A6 - 0x38], [A3 + 0x2]
000012BA 222E 0010 move.l D1, [A6 + 0x10]
000012BE 9287 sub.l D1, D7
000012C0 5281 addq.l D1, 1
000012C2 2D41 FFD4 move.l [A6 - 0x2C], D1
000012C6 3D7C 0001 FFDC move.w [A6 - 0x24], 0x1
000012CC 2D47 FFDE move.l [A6 - 0x22], D7
000012D0 4A6E 0016 tst.w [A6 + 0x16]
000012D4 6714 beq +0x16 /* 000012EA */
000012D6 558F subq.l A7, 2
000012D8 486E FFB0 pea.l [A6 - 0x50]
000012DC 7200 moveq.l D1, 0x00
000012DE 1F01 move.b -[A7], D1
000012E0 4EBA 56D6 jsr [PC + 0x56D6 /* 000069B8 */]
000012E4 301F move.w D0, [A7]+
000012E6 48C0 ext.l D0
000012E8 6012 bra +0x14 /* 000012FC */
label000012EA:
000012EA 558F subq.l A7, 2
000012EC 486E FFB0 pea.l [A6 - 0x50]
000012F0 7000 moveq.l D0, 0x00
000012F2 1F00 move.b -[A7], D0
000012F4 4EBA 56D8 jsr [PC + 0x56D8 /* 000069CE */]
000012F8 301F move.w D0, [A7]+
000012FA 48C0 ext.l D0
label000012FC:
000012FC 3B40 AF2C move.w [A5 - 0x50D4], D0
00001300 6B1A bmi +0x1C /* 0000131C */
00001302 0C40 0000 cmpi.w D0, 0x0
00001306 6E14 bgt +0x16 /* 0000131C */
00001308 D040 add.w D0, D0
0000130A 303B 0006 move.w D0, [PC + D0.w + 0x6]
0000130E 4EFB 0000 jmp [PC + D0.w]
00001312 0004 7000 ori.b D4, 0x0
00001316 2B40 E5C8 move.l [A5 - 0x1A38], D0
0000131A 6006 bra +0x8 /* 00001322 */
label0000131C:
0000131C 7005 moveq.l D0, 0x05
0000131E 2B40 E5C8 move.l [A5 - 0x1A38], D0
label00001322:
00001322 202D E5C8 move.l D0, [A5 - 0x1A38]
00001326 4CEE 0880 FFA8 movem.l D7,A3, [A6 - 0x58]
0000132C 4E5E unlink A6
0000132E 4E75 rts
fn00001330:
00001330 4E56 0000 link A6, 0
00001334 2F0B move.l -[A7], A3
00001336 266E 0008 movea.l A3, [A6 + 0x8]
0000133A 7001 moveq.l D0, 0x01
0000133C 2F00 move.l -[A7], D0
0000133E 2F2E 0010 move.l -[A7], [A6 + 0x10]
00001342 2F2E 000C move.l -[A7], [A6 + 0xC]
00001346 2F0B move.l -[A7], A3
00001348 4EBA FF54 jsr [PC - 0xAC /* 0000129E */]
0000134C 266E FFFC movea.l A3, [A6 - 0x4]
00001350 4E5E unlink A6
00001352 4E75 rts
fn00001354:
00001354 4E56 0000 link A6, 0
00001358 2F0B move.l -[A7], A3
0000135A 266E 0008 movea.l A3, [A6 + 0x8]
0000135E 7000 moveq.l D0, 0x00
00001360 2F00 move.l -[A7], D0
00001362 2F2E 0010 move.l -[A7], [A6 + 0x10]
00001366 2F2E 000C move.l -[A7], [A6 + 0xC]
0000136A 2F0B move.l -[A7], A3
0000136C 4EBA FF30 jsr [PC - 0xD0 /* 0000129E */]
00001370 266E FFFC movea.l A3, [A6 - 0x4]
00001374 4E5E unlink A6
00001376 4E75 rts
fn00001378:
00001378 4E56 FDF4 link A6, -0x020C
0000137C 48E7 0018 movem.l -[A7], A3,A4
00001380 49EE FDF4 lea.l A4, [A6 - 0x20C]
00001384 47EE FE00 lea.l A3, [A6 - 0x200]
00001388 41ED E476 lea.l A0, [A5 - 0x1B8A]
0000138C 2888 move.l [A4], A0
0000138E 7006 moveq.l D0, 0x06
00001390 2F00 move.l -[A7], D0
00001392 2F0B move.l -[A7], A3
00001394 4EBA 2D20 jsr [PC + 0x2D20 /* 000040B6 */]
00001398 7000 moveq.l D0, 0x00
0000139A 1013 move.b D0, [A3]
0000139C 5280 addq.l D0, 1
0000139E 4233 0000 clr.b [A3 + D0.w]
000013A2 206E 0008 movea.l A0, [A6 + 0x8]
000013A6 2F28 000C move.l -[A7], [A0 + 0xC]
000013AA 200B move.l D0, A3
000013AC 5280 addq.l D0, 1
000013AE 2F00 move.l -[A7], D0
000013B0 41EE FF00 lea.l A0, [A6 - 0x100]
000013B4 2888 move.l [A4], A0
000013B6 5288 addq.l A0, 1
000013B8 2F08 move.l -[A7], A0
000013BA 4EAD 0EE2 jsr [A5 + 0xEE2 /* export_472 */]
000013BE 1D40 FF00 move.b [A6 - 0x100], D0
000013C2 7007 moveq.l D0, 0x07
000013C4 2F00 move.l -[A7], D0
000013C6 2F0B move.l -[A7], A3
000013C8 4EBA 2CEC jsr [PC + 0x2CEC /* 000040B6 */]
000013CC 294B 0004 move.l [A4 + 0x4], A3
000013D0 296D E4D0 0008 move.l [A4 + 0x8], [A5 - 0x1B30]
000013D6 7002 moveq.l D0, 0x02
000013D8 2F00 move.l -[A7], D0
000013DA 7201 moveq.l D1, 0x01
000013DC 2F01 move.l -[A7], D1
000013DE 7003 moveq.l D0, 0x03
000013E0 2F00 move.l -[A7], D0
000013E2 2F0C move.l -[A7], A4
000013E4 4EAD 2012 jsr [A5 + 0x2012 /* export_1022 */]
000013E8 0C40 0001 cmpi.w D0, 0x1
000013EC 57C0 seq D0
000013EE 0240 0001 andi.w D0, 0x1
000013F2 48C0 ext.l D0
000013F4 4CEE 1800 FDEC movem.l A3,A4, [A6 - 0x214]
000013FA 4E5E unlink A6
000013FC 4E75 rts
export_31:
000013FE 2F0B move.l -[A7], A3
00001400 266F 0008 movea.l A3, [A7 + 0x8]
00001404 7000 moveq.l D0, 0x00
00001406 2B40 E5C8 move.l [A5 - 0x1A38], D0
0000140A 7220 moveq.l D1, 0x20
0000140C C26B 0018 and.w D1, [A3 + 0x18]
00001410 6704 beq +0x6 /* 00001416 */
00001412 7000 moveq.l D0, 0x00
00001414 6030 bra +0x32 /* 00001446 */
label00001416:
00001416 7001 moveq.l D0, 0x01
00001418 B06B 0016 cmp.w D0, [A3 + 0x16]
0000141C 6424 bcc +0x26 /* 00001442 */
0000141E 2F3C 7FFF FFFE move.l -[A7], 0x7FFFFFFE
00001424 7000 moveq.l D0, 0x00
00001426 2F00 move.l -[A7], D0
00001428 2F0B move.l -[A7], A3
0000142A 4EBA FF04 jsr [PC - 0xFC /* 00001330 */]
0000142E 4A80 tst.l D0
00001430 4FEF 000C lea.l A7, [A7 + 0xC]
00001434 670C beq +0xE /* 00001442 */
00001436 2F0B move.l -[A7], A3
00001438 4EBA FF3E jsr [PC - 0xC2 /* 00001378 */]
0000143C 4A80 tst.l D0
0000143E 588F addq.l A7, 4
00001440 66D4 bne -0x2A /* 00001416 */
label00001442:
00001442 202D E5C8 move.l D0, [A5 - 0x1A38]
label00001446:
00001446 265F movea.l A3, [A7]+
00001448 4E75 rts
export_32:
0000144A 2F0B move.l -[A7], A3
0000144C 266F 0008 movea.l A3, [A7 + 0x8]
00001450 7020 moveq.l D0, 0x20
00001452 C06B 0018 and.w D0, [A3 + 0x18]
00001456 661C bne +0x1E /* 00001474 */
00001458 7001 moveq.l D0, 0x01
0000145A B06B 0016 cmp.w D0, [A3 + 0x16]
0000145E 6414 bcc +0x16 /* 00001474 */
00001460 2F3C 7FFF FFFE move.l -[A7], 0x7FFFFFFE
00001466 7000 moveq.l D0, 0x00
00001468 2F00 move.l -[A7], D0
0000146A 2F0B move.l -[A7], A3
0000146C 4EBA FEE6 jsr [PC - 0x11A /* 00001354 */]
00001470 4FEF 000C lea.l A7, [A7 + 0xC]
label00001474:
00001474 265F movea.l A3, [A7]+
00001476 4E75 rts
fn00001478:
00001478 4E56 FEB0 link A6, -0x0150
0000147C 48E7 0018 movem.l -[A7], A3,A4
00001480 286E 0008 movea.l A4, [A6 + 0x8]
00001484 47EE FF00 lea.l A3, [A6 - 0x100]
00001488 2D6C 000C FEC2 move.l [A6 - 0x13E], [A4 + 0xC]
0000148E 426E FEC6 clr.w [A6 - 0x13A]
00001492 2F0B move.l -[A7], A3
00001494 2F2C 000C move.l -[A7], [A4 + 0xC]
00001498 4EBA F9F6 jsr [PC - 0x60A /* 00000E90 */]
0000149C 2F2E 000C move.l -[A7], [A6 + 0xC]
000014A0 2F0B move.l -[A7], A3
000014A2 4EAD 1B1A jsr [A5 + 0x1B1A /* export_863 */]
000014A6 2D4B FECC move.l [A6 - 0x134], A3
000014AA 558F subq.l A7, 2
000014AC 486E FEB0 pea.l [A6 - 0x150]
000014B0 7000 moveq.l D0, 0x00
000014B2 1F00 move.b -[A7], D0
000014B4 4EBA 51DC jsr [PC + 0x51DC /* 00006692 */]
000014B8 3B5F AF2C move.w [A5 - 0x50D4], [A7]+
000014BC 4EBA 0318 jsr [PC + 0x318 /* 000017D6 */]
000014C0 4CEE 1800 FEA8 movem.l A3,A4, [A6 - 0x158]
000014C6 4E5E unlink A6
000014C8 4E75 rts
export_33:
000014CA 4E56 0000 link A6, 0
000014CE 3B6E 000A AF2C move.w [A5 - 0x50D4], [A6 + 0xA]
000014D4 4EBA 0300 jsr [PC + 0x300 /* 000017D6 */]
000014D8 4E5E unlink A6
000014DA 4E75 rts
export_34:
fn000014DC:
000014DC 4E56 FE00 link A6, -0x0200
000014E0 48E7 0118 movem.l -[A7], D7,A3,A4
000014E4 49EE FE00 lea.l A4, [A6 - 0x200]
000014E8 47EE FF00 lea.l A3, [A6 - 0x100]
000014EC 7009 moveq.l D0, 0x09
000014EE B0AD E5C8 cmp.l D0, [A5 - 0x1A38]
000014F2 660E bne +0x10 /* 00001502 */
000014F4 4878 0433 push.l 0x433
000014F8 4EAD 19BA jsr [A5 + 0x19BA /* export_819 */]
000014FC 588F addq.l A7, 4
000014FE 6000 0120 bra +0x122 /* 00001620 */
label00001502:
00001502 700A moveq.l D0, 0x0A
00001504 B0AD E5C8 cmp.l D0, [A5 - 0x1A38]
00001508 6630 bne +0x32 /* 0000153A */
0000150A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000150E 4878 0439 push.l 0x439
00001512 4EAD 0E32 jsr [A5 + 0xE32 /* export_450 */]
00001516 5280 addq.l D0, 1
00001518 588F addq.l A7, 4
0000151A 2F00 move.l -[A7], D0
0000151C 200C move.l D0, A4
0000151E 5280 addq.l D0, 1
00001520 2F00 move.l -[A7], D0
00001522 4EAD 0EE2 jsr [A5 + 0xEE2 /* export_472 */]
00001526 1880 move.b [A4], D0
00001528 4878 0439 push.l 0x439
0000152C 2F0C move.l -[A7], A4
0000152E 4EAD 19A2 jsr [A5 + 0x19A2 /* export_816 */]
00001532 4FEF 0014 lea.l A7, [A7 + 0x14]
00001536 6000 00E8 bra +0xEA /* 00001620 */
label0000153A:
0000153A 302D AF2C move.w D0, [A5 - 0x50D4]
0000153E 48C0 ext.l D0
00001540 7288 moveq.l D1, 0xFFFFFF88
00001542 B280 cmp.l D1, D0
00001544 670E beq +0x10 /* 00001554 */
00001546 4A6D AF2C tst.w [A5 - 0x50D4]
0000154A 6616 bne +0x18 /* 00001562 */
0000154C 7006 moveq.l D0, 0x06
0000154E B0AD E5C8 cmp.l D0, [A5 - 0x1A38]
00001552 660E bne +0x10 /* 00001562 */
label00001554:
00001554 707F moveq.l D0, 0x7F
00001556 2F00 move.l -[A7], D0
00001558 4EAD 19BA jsr [A5 + 0x19BA /* export_819 */]
0000155C 588F addq.l A7, 4
0000155E 6000 00C0 bra +0xC2 /* 00001620 */
label00001562:
00001562 302D AF2C move.w D0, [A5 - 0x50D4]
00001566 48C0 ext.l D0
00001568 7294 moveq.l D1, 0xFFFFFF94
0000156A B280 cmp.l D1, D0
0000156C 6606 bne +0x8 /* 00001574 */
0000156E 3B7C FFD7 AF2C move.w [A5 - 0x50D4], 0xFFD7
label00001574:
00001574 302D AF2C move.w D0, [A5 - 0x50D4]
00001578 48C0 ext.l D0
0000157A 72DF moveq.l D1, 0xFFFFFFDF
0000157C 9081 sub.l D0, D1
0000157E 6C0C bge +0xE /* 0000158C */
00001580 302D AF2C move.w D0, [A5 - 0x50D4]
00001584 48C0 ext.l D0
00001586 9081 sub.l D0, D1
00001588 4480 neg.l D0
0000158A 600A bra +0xC /* 00001596 */
label0000158C:
0000158C 302D AF2C move.w D0, [A5 - 0x50D4]
00001590 48C0 ext.l D0
00001592 72DF moveq.l D1, 0xFFFFFFDF
00001594 9081 sub.l D0, D1
label00001596:
00001596 2E00 move.l D7, D0
00001598 5087 addq.l D7, 8
0000159A 7008 moveq.l D0, 0x08
0000159C B087 cmp.l D0, D7
0000159E 6E06 bgt +0x8 /* 000015A6 */
000015A0 7024 moveq.l D0, 0x24
000015A2 B087 cmp.l D0, D7
000015A4 6C02 bge +0x4 /* 000015A8 */
label000015A6:
000015A6 7E04 moveq.l D7, 0x04
label000015A8:
000015A8 2F07 move.l -[A7], D7
000015AA 2F0B move.l -[A7], A3
000015AC 4EBA 2B08 jsr [PC + 0x2B08 /* 000040B6 */]
000015B0 4A13 tst.b [A3]
000015B2 508F addq.l A7, 8
000015B4 676A beq +0x6C /* 00001620 */
000015B6 7000 moveq.l D0, 0x00
000015B8 1013 move.b D0, [A3]
000015BA 5280 addq.l D0, 1
000015BC 4233 0000 clr.b [A3 + D0.w]
000015C0 302D AF2C move.w D0, [A5 - 0x50D4]
000015C4 0440 FFC3 subi.w D0, 0xFFC3
000015C8 671C beq +0x1E /* 000015E6 */
000015CA 5F40 subq.w D0, 7
000015CC 6718 beq +0x1A /* 000015E6 */
000015CE 5B40 subq.w D0, 5
000015D0 6714 beq +0x16 /* 000015E6 */
000015D2 5540 subq.w D0, 2
000015D4 6710 beq +0x12 /* 000015E6 */
000015D6 5540 subq.w D0, 2
000015D8 670C beq +0xE /* 000015E6 */
000015DA 5540 subq.w D0, 2
000015DC 6708 beq +0xA /* 000015E6 */
000015DE 5B40 subq.w D0, 5
000015E0 6704 beq +0x6 /* 000015E6 */
000015E2 5540 subq.w D0, 2
000015E4 662A bne +0x2C /* 00001610 */
label000015E6:
000015E6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000015EA 200B move.l D0, A3
000015EC 5280 addq.l D0, 1
000015EE 2F00 move.l -[A7], D0
000015F0 200C move.l D0, A4
000015F2 5280 addq.l D0, 1
000015F4 2F00 move.l -[A7], D0
000015F6 4EAD 0EE2 jsr [A5 + 0xEE2 /* export_472 */]
000015FA 1880 move.b [A4], D0
000015FC 302D AF2C move.w D0, [A5 - 0x50D4]
00001600 48C0 ext.l D0
00001602 2F00 move.l -[A7], D0
00001604 2F0C move.l -[A7], A4
00001606 4EAD 19A2 jsr [A5 + 0x19A2 /* export_816 */]
0000160A 4FEF 0014 lea.l A7, [A7 + 0x14]
0000160E 6010 bra +0x12 /* 00001620 */
label00001610:
00001610 302D AF2C move.w D0, [A5 - 0x50D4]
00001614 48C0 ext.l D0
00001616 2F00 move.l -[A7], D0
00001618 2F0B move.l -[A7], A3
0000161A 4EAD 19A2 jsr [A5 + 0x19A2 /* export_816 */]
0000161E 508F addq.l A7, 8
label00001620:
00001620 4CEE 1880 FDF4 movem.l D7,A3,A4, [A6 - 0x20C]
00001626 4E5E unlink A6
00001628 4E75 rts
export_35:
fn0000162A:
0000162A 4E56 FC2A link A6, -0x03D6
0000162E 48E7 0118 movem.l -[A7], D7,A3,A4
00001632 49EE FDF6 lea.l A4, [A6 - 0x20A]
00001636 47EE FEF6 lea.l A3, [A6 - 0x10A]
0000163A 2F0C move.l -[A7], A4
0000163C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001640 4EBA F808 jsr [PC - 0x7F8 /* 00000E4A */]
00001644 2F0B move.l -[A7], A3
00001646 2F2E 000C move.l -[A7], [A6 + 0xC]
0000164A 4EBA F7FE jsr [PC - 0x802 /* 00000E4A */]
0000164E 2F0B move.l -[A7], A3
00001650 2F0C move.l -[A7], A4
00001652 4EAD 0CFA jsr [A5 + 0xCFA /* export_411 */]
00001656 3E00 move.w D7, D0
00001658 4FEF 0018 lea.l A7, [A7 + 0x18]
0000165C 6600 016C bne +0x16E /* 000017CA */
00001660 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001664 4EBA F8EE jsr [PC - 0x712 /* 00000F54 */]
00001668 4A40 tst.w D0
0000166A 588F addq.l A7, 4
0000166C 6720 beq +0x22 /* 0000168E */
0000166E 558F subq.l A7, 2
00001670 2F0C move.l -[A7], A4
00001672 7000 moveq.l D0, 0x00
00001674 2F00 move.l -[A7], D0
00001676 2F2D B1F8 move.l -[A7], [A5 - 0x4E08]
0000167A 486E FFF6 pea.l [A6 - 0xA]
0000167E 486E FFFA pea.l [A6 - 0x6]
00001682 486E FFFC pea.l [A6 - 0x4]
00001686 4EBA 3BF4 jsr [PC + 0x3BF4 /* 0000527C */]
0000168A 4A1F tst.b [A7]+
0000168C 6606 bne +0x8 /* 00001694 */
label0000168E:
0000168E 3D6D AF2A FFF6 move.w [A6 - 0xA], [A5 - 0x50D6]
label00001694:
00001694 2F2E 000C move.l -[A7], [A6 + 0xC]
00001698 4EBA F8BA jsr [PC - 0x746 /* 00000F54 */]
0000169C 4A40 tst.w D0
0000169E 588F addq.l A7, 4
000016A0 6720 beq +0x22 /* 000016C2 */
000016A2 558F subq.l A7, 2
000016A4 2F0B move.l -[A7], A3
000016A6 7000 moveq.l D0, 0x00
000016A8 2F00 move.l -[A7], D0
000016AA 2F2D B1F8 move.l -[A7], [A5 - 0x4E08]
000016AE 486E FFF8 pea.l [A6 - 0x8]
000016B2 486E FFFA pea.l [A6 - 0x6]
000016B6 486E FFFC pea.l [A6 - 0x4]
000016BA 4EBA 3BC0 jsr [PC + 0x3BC0 /* 0000527C */]
000016BE 4A1F tst.b [A7]+
000016C0 6606 bne +0x8 /* 000016C8 */
label000016C2:
000016C2 3D6D AF2A FFF8 move.w [A6 - 0x8], [A5 - 0x50D6]
label000016C8:
000016C8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000016CC 2F0C move.l -[A7], A4
000016CE 4EAD 1B22 jsr [A5 + 0x1B22 /* export_864 */]
000016D2 2F2E 000C move.l -[A7], [A6 + 0xC]
000016D6 2F0B move.l -[A7], A3
000016D8 4EAD 1B22 jsr [A5 + 0x1B22 /* export_864 */]
000016DC 7000 moveq.l D0, 0x00
000016DE 2D40 FD96 move.l [A6 - 0x26A], D0
000016E2 2D40 FD2A move.l [A6 - 0x2D6], D0
000016E6 2D4C FD30 move.l [A6 - 0x2D0], A4
000016EA 2D4B FD9C move.l [A6 - 0x264], A3
000016EE 3D6E FFF6 FD34 move.w [A6 - 0x2CC], [A6 - 0xA]
000016F4 3D6E FFF8 FDA0 move.w [A6 - 0x260], [A6 - 0x8]
000016FA 422E FDA4 clr.b [A6 - 0x25C]
000016FE 422E FD38 clr.b [A6 - 0x2C8]
00001702 426E FDA6 clr.w [A6 - 0x25A]
00001706 426E FD3A clr.w [A6 - 0x2C6]
0000170A 2D40 FDBA move.l [A6 - 0x246], D0
0000170E 2D40 FD4E move.l [A6 - 0x2B2], D0
00001712 558F subq.l A7, 2
00001714 486E FD1E pea.l [A6 - 0x2E2]
00001718 7200 moveq.l D1, 0x00
0000171A 1F01 move.b -[A7], D1
0000171C 4EBA 5266 jsr [PC + 0x5266 /* 00006984 */]
00001720 4A5F tst.w [A7]+
00001722 4FEF 0010 lea.l A7, [A7 + 0x10]
00001726 6600 00A0 bne +0xA2 /* 000017C8 */
0000172A 558F subq.l A7, 2
0000172C 486E FD8A pea.l [A6 - 0x276]
00001730 7000 moveq.l D0, 0x00
00001732 1F00 move.b -[A7], D0
00001734 4EBA 524E jsr [PC + 0x524E /* 00006984 */]
00001738 4A5F tst.w [A7]+
0000173A 6600 008C bne +0x8E /* 000017C8 */
0000173E 202E FD4E move.l D0, [A6 - 0x2B2]
00001742 B0AE FDBA cmp.l D0, [A6 - 0x246]
00001746 56C7 sne D7
00001748 0247 0001 andi.w D7, 0x1
0000174C 667C bne +0x7E /* 000017CA */
0000174E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001752 2F0C move.l -[A7], A4
00001754 4EAD 1B22 jsr [A5 + 0x1B22 /* export_864 */]
00001758 2F2E 000C move.l -[A7], [A6 + 0xC]
0000175C 2F0B move.l -[A7], A3
0000175E 4EAD 1B22 jsr [A5 + 0x1B22 /* export_864 */]
00001762 7000 moveq.l D0, 0x00
00001764 2D40 FCB0 move.l [A6 - 0x350], D0
00001768 2D40 FC36 move.l [A6 - 0x3CA], D0
0000176C 2D4C FC3C move.l [A6 - 0x3C4], A4
00001770 2D4B FCB6 move.l [A6 - 0x34A], A3
00001774 3D6E FFF6 FC40 move.w [A6 - 0x3C0], [A6 - 0xA]
0000177A 3D6E FFF8 FCBA move.w [A6 - 0x346], [A6 - 0x8]
00001780 3D7C FFFF FCC0 move.w [A6 - 0x340], 0xFFFF
00001786 3D7C FFFF FC46 move.w [A6 - 0x3BA], 0xFFFF
0000178C 558F subq.l A7, 2
0000178E 486E FC2A pea.l [A6 - 0x3D6]
00001792 7200 moveq.l D1, 0x00
00001794 1F01 move.b -[A7], D1
00001796 4EBA 524C jsr [PC + 0x524C /* 000069E4 */]
0000179A 4A5F tst.w [A7]+
0000179C 4FEF 0010 lea.l A7, [A7 + 0x10]
000017A0 6622 bne +0x24 /* 000017C4 */
000017A2 558F subq.l A7, 2
000017A4 486E FCA4 pea.l [A6 - 0x35C]
000017A8 7000 moveq.l D0, 0x00
000017AA 1F00 move.b -[A7], D0
000017AC 4EBA 5236 jsr [PC + 0x5236 /* 000069E4 */]
000017B0 4A5F tst.w [A7]+
000017B2 6610 bne +0x12 /* 000017C4 */
000017B4 302E FC40 move.w D0, [A6 - 0x3C0]
000017B8 B06E FCBA cmp.w D0, [A6 - 0x346]
000017BC 56C7 sne D7
000017BE 0247 0001 andi.w D7, 0x1
000017C2 6006 bra +0x8 /* 000017CA */
label000017C4:
000017C4 7EFF moveq.l D7, 0xFFFFFFFF
000017C6 6002 bra +0x4 /* 000017CA */
label000017C8:
000017C8 7EFF moveq.l D7, 0xFFFFFFFF
label000017CA:
000017CA 3007 move.w D0, D7
000017CC 4CEE 1880 FC1E movem.l D7,A3,A4, [A6 - 0x3E2]
000017D2 4E5E unlink A6
000017D4 4E75 rts
fn000017D6:
000017D6 302D AF2C move.w D0, [A5 - 0x50D4]
000017DA 0440 FFD9 subi.w D0, 0xFFD9
000017DE 6712 beq +0x14 /* 000017F2 */
000017E0 5B40 subq.w D0, 5
000017E2 6716 beq +0x18 /* 000017FA */
000017E4 0440 0022 subi.w D0, 0x22 /* '\"' */
000017E8 6618 bne +0x1A /* 00001802 */
000017EA 7000 moveq.l D0, 0x00
000017EC 2B40 E5C8 move.l [A5 - 0x1A38], D0
000017F0 6016 bra +0x18 /* 00001808 */
label000017F2:
000017F2 7003 moveq.l D0, 0x03
000017F4 2B40 E5C8 move.l [A5 - 0x1A38], D0
000017F8 600E bra +0x10 /* 00001808 */
label000017FA:
000017FA 7004 moveq.l D0, 0x04
000017FC 2B40 E5C8 move.l [A5 - 0x1A38], D0
00001800 6006 bra +0x8 /* 00001808 */
label00001802:
00001802 7005 moveq.l D0, 0x05
00001804 2B40 E5C8 move.l [A5 - 0x1A38], D0
label00001808:
00001808 202D E5C8 move.l D0, [A5 - 0x1A38]
0000180C 4E75 rts
export_36:
fn0000180E:
0000180E 4E56 FDC2 link A6, -0x023E
00001812 48E7 0018 movem.l -[A7], A3,A4
00001816 286E 0008 movea.l A4, [A6 + 0x8]
0000181A 47EE FF00 lea.l A3, [A6 - 0x100]
0000181E 7000 moveq.l D0, 0x00
00001820 2D40 FDCE move.l [A6 - 0x232], D0
00001824 426E FDD8 clr.w [A6 - 0x228]
00001828 3D6E 000E FDDA move.w [A6 - 0x226], [A6 + 0xE]
0000182E 426E FDDE clr.w [A6 - 0x222]
00001832 41EE FE00 lea.l A0, [A6 - 0x200]
00001836 2D48 FDD4 move.l [A6 - 0x22C], A0
0000183A 558F subq.l A7, 2
0000183C 486E FDC2 pea.l [A6 - 0x23E]
00001840 7200 moveq.l D1, 0x00
00001842 1F01 move.b -[A7], D1
00001844 4EBA 5128 jsr [PC + 0x5128 /* 0000696E */]
00001848 4A5F tst.w [A7]+
0000184A 6670 bne +0x72 /* 000018BC */
0000184C 2F0B move.l -[A7], A3
0000184E 2F2E FDFC move.l -[A7], [A6 - 0x204]
00001852 302E FDF6 move.w D0, [A6 - 0x20A]
00001856 48C0 ext.l D0
00001858 2F00 move.l -[A7], D0
0000185A 4EBA ED72 jsr [PC - 0x128E /* 000005CE */]
0000185E 4A40 tst.w D0
00001860 4FEF 000C lea.l A7, [A7 + 0xC]
00001864 6756 beq +0x58 /* 000018BC */
00001866 486E FE00 pea.l [A6 - 0x200]
0000186A 2F14 move.l -[A7], [A4]
0000186C 4EBA F5DC jsr [PC - 0xA24 /* 00000E4A */]
00001870 7000 moveq.l D0, 0x00
00001872 1013 move.b D0, [A3]
00001874 7200 moveq.l D1, 0x00
00001876 122E FE00 move.b D1, [A6 - 0x200]
0000187A D280 add.l D1, D0
0000187C 0C81 0000 00FF cmpi.l D1, 0xFF
00001882 508F addq.l A7, 8
00001884 6E36 bgt +0x38 /* 000018BC */
00001886 486E FE00 pea.l [A6 - 0x200]
0000188A 2F0B move.l -[A7], A3
0000188C 4EAD 1B1A jsr [A5 + 0x1B1A /* export_863 */]
00001890 2F0B move.l -[A7], A3
00001892 2F14 move.l -[A7], [A4]
00001894 4EBA FD94 jsr [PC - 0x26C /* 0000162A */]
00001898 4A40 tst.w D0
0000189A 4FEF 0010 lea.l A7, [A7 + 0x10]
0000189E 671C beq +0x1E /* 000018BC */
000018A0 4A6E 0012 tst.w [A6 + 0x12]
000018A4 670C beq +0xE /* 000018B2 */
000018A6 2F0B move.l -[A7], A3
000018A8 2F0C move.l -[A7], A4
000018AA 4EAD 0E7A jsr [A5 + 0xE7A /* export_459 */]
000018AE 508F addq.l A7, 8
000018B0 600A bra +0xC /* 000018BC */
label000018B2:
000018B2 2F0B move.l -[A7], A3
000018B4 2F14 move.l -[A7], [A4]
000018B6 4EAD 1B22 jsr [A5 + 0x1B22 /* export_864 */]
000018BA 508F addq.l A7, 8
label000018BC:
000018BC 4CEE 1800 FDBA movem.l A3,A4, [A6 - 0x246]
000018C2 4E5E unlink A6
000018C4 4E75 rts
export_37:
000018C6 4E56 FEDC link A6, -0x0124
000018CA 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
000018CE 286E 0008 movea.l A4, [A6 + 0x8]
000018D2 47EE FEFC lea.l A3, [A6 - 0x104]
000018D6 7001 moveq.l D0, 0x01
000018D8 2F00 move.l -[A7], D0
000018DA 2F14 move.l -[A7], [A4]
000018DC 486C 000C pea.l [A4 + 0xC]
000018E0 4EBA FF2C jsr [PC - 0xD4 /* 0000180E */]
000018E4 7040 moveq.l D0, 0x40
000018E6 C06C 0018 and.w D0, [A4 + 0x18]
000018EA 4FEF 000C lea.l A7, [A7 + 0xC]
000018EE 6610 bne +0x12 /* 00001900 */
000018F0 206E 000C movea.l A0, [A6 + 0xC]
000018F4 7000 moveq.l D0, 0x00
000018F6 2140 000C move.l [A0 + 0xC], D0
000018FA 7001 moveq.l D0, 0x01
000018FC 6000 0164 bra +0x166 /* 00001A62 */
label00001900:
00001900 4245 clr.w D5
00001902 206E 000C movea.l A0, [A6 + 0xC]
00001906 224C movea.l A1, A4
00001908 7006 moveq.l D0, 0x06
label0000190A:
0000190A 20D9 move.l [A0]+, [A1]+
0000190C 51C8 FFFC dbf D0, -0x6 /* 0000190A */
00001910 30D9 move.w [A0]+, [A1]+
00001912 2D6C 0010 FFFC move.l [A6 - 0x4], [A4 + 0x10]
00001918 6606 bne +0x8 /* 00001920 */
0000191A 2D6C 000C FFFC move.l [A6 - 0x4], [A4 + 0xC]
label00001920:
00001920 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001924 4EBA F2B0 jsr [PC - 0xD50 /* 00000BD6 */]
00001928 4A80 tst.l D0
0000192A 588F addq.l A7, 4
0000192C 6600 011E bne +0x120 /* 00001A4C */
00001930 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001934 4EBA F90E jsr [PC - 0x6F2 /* 00001244 */]
00001938 3D40 FEFA move.w [A6 - 0x106], D0
0000193C 588F addq.l A7, 4
0000193E 6746 beq +0x48 /* 00001986 */
00001940 2F0B move.l -[A7], A3
00001942 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001946 4EBA F548 jsr [PC - 0xAB8 /* 00000E90 */]
0000194A 7000 moveq.l D0, 0x00
0000194C 1013 move.b D0, [A3]
0000194E 3E00 move.w D7, D0
00001950 4246 clr.w D6
00001952 508F addq.l A7, 8
label00001954:
00001954 48C7 ext.l D7
00001956 3006 move.w D0, D6
00001958 5246 addq.w D6, 1
0000195A 48C0 ext.l D0
0000195C 2F00 move.l -[A7], D0
0000195E 486D AEB6 pea.l [A5 - 0x514A]
00001962 48C7 ext.l D7
00001964 2007 move.l D0, D7
00001966 5280 addq.l D0, 1
00001968 4873 0000 pea.l [A3 + D0.w]
0000196C 4EAD 0EE2 jsr [A5 + 0xEE2 /* export_472 */]
00001970 D087 add.l D0, D7
00001972 1680 move.b [A3], D0
00001974 4FEF 000C lea.l A7, [A7 + 0xC]
00001978 2F0B move.l -[A7], A3
0000197A 4EBA F8C8 jsr [PC - 0x738 /* 00001244 */]
0000197E 4A40 tst.w D0
00001980 588F addq.l A7, 4
00001982 66D0 bne -0x2E /* 00001954 */
00001984 600C bra +0xE /* 00001992 */
label00001986:
00001986 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000198A 2F0B move.l -[A7], A3
0000198C 4EAD 1B22 jsr [A5 + 0x1B22 /* export_864 */]
00001990 508F addq.l A7, 8
label00001992:
00001992 7002 moveq.l D0, 0x02
00001994 2F00 move.l -[A7], D0
00001996 206E 000C movea.l A0, [A6 + 0xC]
0000199A 3228 0014 move.w D1, [A0 + 0x14]
0000199E 48C1 ext.l D1
000019A0 2F01 move.l -[A7], D1
000019A2 2F0B move.l -[A7], A3
000019A4 486E FEDC pea.l [A6 - 0x124]
000019A8 4EBA F5E4 jsr [PC - 0xA1C /* 00000F8E */]
000019AC 4A80 tst.l D0
000019AE 4FEF 0010 lea.l A7, [A7 + 0x10]
000019B2 6600 0098 bne +0x9A /* 00001A4C */
000019B6 4A6E FEFA tst.w [A6 - 0x106]
000019BA 6706 beq +0x8 /* 000019C2 */
000019BC 006E 0040 FEF4 ori.w [A6 - 0x10C], 0x40 /* '@' */
label000019C2:
000019C2 486E FEDC pea.l [A6 - 0x124]
000019C6 4EBA F176 jsr [PC - 0xE8A /* 00000B3E */]
000019CA 4A80 tst.l D0
000019CC 588F addq.l A7, 4
000019CE 667C bne +0x7E /* 00001A4C */
000019D0 206E 000C movea.l A0, [A6 + 0xC]
000019D4 7010 moveq.l D0, 0x10
000019D6 C068 0018 and.w D0, [A0 + 0x18]
000019DA 6712 beq +0x14 /* 000019EE */
000019DC 486E FEDC pea.l [A6 - 0x124]
000019E0 2F2E 000C move.l -[A7], [A6 + 0xC]
000019E4 4EBA 03F6 jsr [PC + 0x3F6 /* 00001DDC */]
000019E8 4A80 tst.l D0
000019EA 508F addq.l A7, 8
000019EC 6632 bne +0x34 /* 00001A20 */
label000019EE:
000019EE 206E 000C movea.l A0, [A6 + 0xC]
000019F2 4AA8 0010 tst.l [A0 + 0x10]
000019F6 6612 bne +0x14 /* 00001A0A */
000019F8 486E FEDC pea.l [A6 - 0x124]
000019FC 2F2E 000C move.l -[A7], [A6 + 0xC]
00001A00 4EBA 064C jsr [PC + 0x64C /* 0000204E */]
00001A04 4A80 tst.l D0
00001A06 508F addq.l A7, 8
00001A08 6616 bne +0x18 /* 00001A20 */
label00001A0A:
00001A0A 41EE FEDC lea.l A0, [A6 - 0x124]
00001A0E 224C movea.l A1, A4
00001A10 7006 moveq.l D0, 0x06
label00001A12:
00001A12 22D8 move.l [A1]+, [A0]+
00001A14 51C8 FFFC dbf D0, -0x6 /* 00001A12 */
00001A18 32D8 move.w [A1]+, [A0]+
00001A1A 7A01 moveq.l D5, 0x01
label00001A1C:
00001A1C 3005 move.w D0, D5
00001A1E 6042 bra +0x44 /* 00001A62 */
label00001A20:
00001A20 382D AF2C move.w D4, [A5 - 0x50D4]
00001A24 486E FEDC pea.l [A6 - 0x124]
00001A28 4EBA F39A jsr [PC - 0xC66 /* 00000DC4 */]
00001A2C 486E FEDC pea.l [A6 - 0x124]
00001A30 4EBA F3DC jsr [PC - 0xC24 /* 00000E0E */]
00001A34 486E FEDC pea.l [A6 - 0x124]
00001A38 4EBA F83C jsr [PC - 0x7C4 /* 00001276 */]
00001A3C 3B44 AF2C move.w [A5 - 0x50D4], D4
00001A40 486E FEDC pea.l [A6 - 0x124]
00001A44 4EBA F6F6 jsr [PC - 0x90A /* 0000113C */]
00001A48 4FEF 0010 lea.l A7, [A7 + 0x10]
label00001A4C:
00001A4C 2F0B move.l -[A7], A3
00001A4E 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001A52 4EBA F3F6 jsr [PC - 0xC0A /* 00000E4A */]
00001A56 2F0B move.l -[A7], A3
00001A58 4EBA FA82 jsr [PC - 0x57E /* 000014DC */]
00001A5C 4FEF 000C lea.l A7, [A7 + 0xC]
00001A60 60BA bra -0x44 /* 00001A1C */
label00001A62:
00001A62 4CEE 18F0 FEC4 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x13C]
00001A68 4E5E unlink A6
00001A6A 4E75 rts
export_38:
00001A6C 4E56 FEEA link A6, -0x0116
00001A70 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00001A74 3E2E 0012 move.w D7, [A6 + 0x12]
00001A78 286E 0008 movea.l A4, [A6 + 0x8]
00001A7C 266E 000C movea.l A3, [A6 + 0xC]
00001A80 2D6D E5C8 FEEA move.l [A6 - 0x116], [A5 - 0x1A38]
00001A86 3A2D AF2C move.w D5, [A5 - 0x50D4]
00001A8A 4A47 tst.w D7
00001A8C 6700 01D6 beq +0x1D8 /* 00001C64 */
00001A90 7040 moveq.l D0, 0x40
00001A92 C06C 0018 and.w D0, [A4 + 0x18]
00001A96 6614 bne +0x16 /* 00001AAC */
00001A98 4AAB 000C tst.l [A3 + 0xC]
00001A9C 6708 beq +0xA /* 00001AA6 */
00001A9E 2F0B move.l -[A7], A3
00001AA0 4EBA F69A jsr [PC - 0x966 /* 0000113C */]
00001AA4 588F addq.l A7, 4
label00001AA6:
00001AA6 7001 moveq.l D0, 0x01
00001AA8 6000 0228 bra +0x22A /* 00001CD2 */
label00001AAC:
00001AAC 7000 moveq.l D0, 0x00
00001AAE 4AAB 0010 tst.l [A3 + 0x10]
00001AB2 671A beq +0x1C /* 00001ACE */
00001AB4 2F00 move.l -[A7], D0
00001AB6 2F2B 0010 move.l -[A7], [A3 + 0x10]
00001ABA 2F2B 000C move.l -[A7], [A3 + 0xC]
00001ABE 4EBA FB6A jsr [PC - 0x496 /* 0000162A */]
00001AC2 508F addq.l A7, 8
00001AC4 2200 move.l D1, D0
00001AC6 201F move.l D0, [A7]+
00001AC8 4A41 tst.w D1
00001ACA 6702 beq +0x4 /* 00001ACE */
00001ACC 7001 moveq.l D0, 0x01
label00001ACE:
00001ACE 3C00 move.w D6, D0
00001AD0 674C beq +0x4E /* 00001B1E */
00001AD2 486E FEF0 pea.l [A6 - 0x110]
00001AD6 2F2B 0010 move.l -[A7], [A3 + 0x10]
00001ADA 4EBA F36E jsr [PC - 0xC92 /* 00000E4A */]
00001ADE 2F2B 0010 move.l -[A7], [A3 + 0x10]
00001AE2 4EAD 0F02 jsr [A5 + 0xF02 /* export_476 */]
00001AE6 2D40 FFF0 move.l [A6 - 0x10], D0
00001AEA 4FEF 000C lea.l A7, [A7 + 0xC]
00001AEE 670E beq +0x10 /* 00001AFE */
00001AF0 486E FEF0 pea.l [A6 - 0x110]
00001AF4 4EAD 0F02 jsr [A5 + 0xF02 /* export_476 */]
00001AF8 2D40 FFF4 move.l [A6 - 0xC], D0
00001AFC 588F addq.l A7, 4
label00001AFE:
00001AFE 4AAE FFF0 tst.l [A6 - 0x10]
00001B02 6706 beq +0x8 /* 00001B0A */
00001B04 4AAE FFF4 tst.l [A6 - 0xC]
00001B08 6614 bne +0x16 /* 00001B1E */
label00001B0A:
00001B0A 486E FFF0 pea.l [A6 - 0x10]
00001B0E 4EAD 0DB2 jsr [A5 + 0xDB2 /* export_434 */]
00001B12 486E FFF4 pea.l [A6 - 0xC]
00001B16 4EAD 0DB2 jsr [A5 + 0xDB2 /* export_434 */]
00001B1A 4247 clr.w D7
00001B1C 508F addq.l A7, 8
label00001B1E:
00001B1E 4A47 tst.w D7
00001B20 6700 0142 beq +0x144 /* 00001C64 */
00001B24 7040 moveq.l D0, 0x40
00001B26 C06C 0018 and.w D0, [A4 + 0x18]
00001B2A 6700 0138 beq +0x13A /* 00001C64 */
00001B2E 7001 moveq.l D0, 0x01
00001B30 C06B 0018 and.w D0, [A3 + 0x18]
00001B34 3D40 FEEE move.w [A6 - 0x112], D0
00001B38 2F0B move.l -[A7], A3
00001B3A 4EBA F288 jsr [PC - 0xD78 /* 00000DC4 */]
00001B3E 422E FEF0 clr.b [A6 - 0x110]
00001B42 486D 26B2 pea.l [A5 + 0x26B2 /* export_1234 */]
00001B46 4EBA 2D60 jsr [PC + 0x2D60 /* 000048A8 */]
00001B4A 4A40 tst.w D0
00001B4C 508F addq.l A7, 8
00001B4E 6718 beq +0x1A /* 00001B68 */
00001B50 486E FEF0 pea.l [A6 - 0x110]
00001B54 2F2B 0004 move.l -[A7], [A3 + 0x4]
00001B58 4EAD 26B2 jsr [A5 + 0x26B2 /* export_1234 */]
00001B5C 486D 26B2 pea.l [A5 + 0x26B2 /* export_1234 */]
00001B60 4EBA 2CFA jsr [PC + 0x2CFA /* 0000485C */]
00001B64 4FEF 000C lea.l A7, [A7 + 0xC]
label00001B68:
00001B68 2F0B move.l -[A7], A3
00001B6A 4EBA F2A2 jsr [PC - 0xD5E /* 00000E0E */]
00001B6E 4A46 tst.w D6
00001B70 588F addq.l A7, 4
00001B72 6718 beq +0x1A /* 00001B8C */
00001B74 2D6B 000C FFF8 move.l [A6 - 0x8], [A3 + 0xC]
00001B7A 2D6B 0008 FFFC move.l [A6 - 0x4], [A3 + 0x8]
00001B80 276E FFF0 000C move.l [A3 + 0xC], [A6 - 0x10]
00001B86 276E FFF4 0008 move.l [A3 + 0x8], [A6 - 0xC]
label00001B8C:
00001B8C 2F0B move.l -[A7], A3
00001B8E 4EBA F6E6 jsr [PC - 0x91A /* 00001276 */]
00001B92 302D AF2C move.w D0, [A5 - 0x50D4]
00001B96 0440 FFD5 subi.w D0, 0xFFD5
00001B9A 588F addq.l A7, 4
00001B9C 6706 beq +0x8 /* 00001BA4 */
00001B9E 0440 002B subi.w D0, 0x2B /* '+' */
00001BA2 665A bne +0x5C /* 00001BFE */
label00001BA4:
00001BA4 2F2B 0008 move.l -[A7], [A3 + 0x8]
00001BA8 2F0C move.l -[A7], A4
00001BAA 4EBA F8CC jsr [PC - 0x734 /* 00001478 */]
00001BAE 4A80 tst.l D0
00001BB0 57C4 seq D4
00001BB2 0244 0001 andi.w D4, 0x1
00001BB6 508F addq.l A7, 8
00001BB8 6744 beq +0x46 /* 00001BFE */
00001BBA 4A46 tst.w D6
00001BBC 6716 beq +0x18 /* 00001BD4 */
00001BBE 486E FFF8 pea.l [A6 - 0x8]
00001BC2 4EAD 0DB2 jsr [A5 + 0xDB2 /* export_434 */]
00001BC6 486E FFFC pea.l [A6 - 0x4]
00001BCA 4EAD 0DB2 jsr [A5 + 0xDB2 /* export_434 */]
00001BCE 508F addq.l A7, 8
00001BD0 6000 0092 bra +0x94 /* 00001C64 */
label00001BD4:
00001BD4 4A2E FEF0 tst.b [A6 - 0x110]
00001BD8 6700 008A beq +0x8C /* 00001C64 */
00001BDC 486D 26C2 pea.l [A5 + 0x26C2 /* export_1236 */]
00001BE0 4EBA 2CC6 jsr [PC + 0x2CC6 /* 000048A8 */]
00001BE4 4A40 tst.w D0
00001BE6 588F addq.l A7, 4
00001BE8 677A beq +0x7C /* 00001C64 */
00001BEA 486E FEF0 pea.l [A6 - 0x110]
00001BEE 4EAD 26C2 jsr [A5 + 0x26C2 /* export_1236 */]
00001BF2 486D 26C2 pea.l [A5 + 0x26C2 /* export_1236 */]
00001BF6 4EBA 2C64 jsr [PC + 0x2C64 /* 0000485C */]
00001BFA 508F addq.l A7, 8
00001BFC 6066 bra +0x68 /* 00001C64 */
label00001BFE:
00001BFE 4247 clr.w D7
00001C00 4EBA FBD4 jsr [PC - 0x42C /* 000017D6 */]
00001C04 2F2B 0008 move.l -[A7], [A3 + 0x8]
00001C08 4EBA F8D2 jsr [PC - 0x72E /* 000014DC */]
00001C0C 4A46 tst.w D6
00001C0E 588F addq.l A7, 4
00001C10 671E beq +0x20 /* 00001C30 */
00001C12 486B 000C pea.l [A3 + 0xC]
00001C16 4EAD 0DB2 jsr [A5 + 0xDB2 /* export_434 */]
00001C1A 486B 0008 pea.l [A3 + 0x8]
00001C1E 4EAD 0DB2 jsr [A5 + 0xDB2 /* export_434 */]
00001C22 276E FFF8 000C move.l [A3 + 0xC], [A6 - 0x8]
00001C28 276E FFFC 0008 move.l [A3 + 0x8], [A6 - 0x4]
00001C2E 508F addq.l A7, 8
label00001C30:
00001C30 4A6E FEEE tst.w [A6 - 0x112]
00001C34 672E beq +0x30 /* 00001C64 */
00001C36 2F0B move.l -[A7], A3
00001C38 4EBA ECD2 jsr [PC - 0x132E /* 0000090C */]
00001C3C 4A2E FEF0 tst.b [A6 - 0x110]
00001C40 588F addq.l A7, 4
00001C42 6720 beq +0x22 /* 00001C64 */
00001C44 486D 26C2 pea.l [A5 + 0x26C2 /* export_1236 */]
00001C48 4EBA 2C5E jsr [PC + 0x2C5E /* 000048A8 */]
00001C4C 4A40 tst.w D0
00001C4E 588F addq.l A7, 4
00001C50 6712 beq +0x14 /* 00001C64 */
00001C52 486E FEF0 pea.l [A6 - 0x110]
00001C56 4EAD 26C2 jsr [A5 + 0x26C2 /* export_1236 */]
00001C5A 486D 26C2 pea.l [A5 + 0x26C2 /* export_1236 */]
00001C5E 4EBA 2BFC jsr [PC + 0x2BFC /* 0000485C */]
00001C62 508F addq.l A7, 8
label00001C64:
00001C64 4A47 tst.w D7
00001C66 6616 bne +0x18 /* 00001C7E */
00001C68 2F0C move.l -[A7], A4
00001C6A 4EBA F158 jsr [PC - 0xEA8 /* 00000DC4 */]
00001C6E 2F0C move.l -[A7], A4
00001C70 4EBA F19C jsr [PC - 0xE64 /* 00000E0E */]
00001C74 2F0C move.l -[A7], A4
00001C76 4EBA F5FE jsr [PC - 0xA02 /* 00001276 */]
00001C7A 4FEF 000C lea.l A7, [A7 + 0xC]
label00001C7E:
00001C7E 4AAB 000C tst.l [A3 + 0xC]
00001C82 671E beq +0x20 /* 00001CA2 */
00001C84 486C 000C pea.l [A4 + 0xC]
00001C88 4EAD 0DB2 jsr [A5 + 0xDB2 /* export_434 */]
00001C8C 486C 0008 pea.l [A4 + 0x8]
00001C90 4EAD 0DB2 jsr [A5 + 0xDB2 /* export_434 */]
00001C94 296B 000C 000C move.l [A4 + 0xC], [A3 + 0xC]
00001C9A 296B 0008 0008 move.l [A4 + 0x8], [A3 + 0x8]
00001CA0 508F addq.l A7, 8
label00001CA2:
00001CA2 4A47 tst.w D7
00001CA4 662A bne +0x2C /* 00001CD0 */
00001CA6 2893 move.l [A4], [A3]
00001CA8 296B 0004 0004 move.l [A4 + 0x4], [A3 + 0x4]
00001CAE 396B 0018 0018 move.w [A4 + 0x18], [A3 + 0x18]
00001CB4 296B 0010 0010 move.l [A4 + 0x10], [A3 + 0x10]
00001CBA 4244 clr.w D4
00001CBC 4A45 tst.w D5
00001CBE 6704 beq +0x6 /* 00001CC4 */
00001CC0 3B45 AF2C move.w [A5 - 0x50D4], D5
label00001CC4:
00001CC4 4AAE FEEA tst.l [A6 - 0x116]
00001CC8 6706 beq +0x8 /* 00001CD0 */
00001CCA 2B6E FEEA E5C8 move.l [A5 - 0x1A38], [A6 - 0x116]
label00001CD0:
00001CD0 3004 move.w D0, D4
label00001CD2:
00001CD2 4CEE 18F0 FED2 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x12E]
00001CD8 4E5E unlink A6
00001CDA 4E75 rts
export_39:
00001CDC 4E56 FEF0 link A6, -0x0110
00001CE0 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00001CE4 49EE FEF0 lea.l A4, [A6 - 0x110]
00001CE8 266E 0008 movea.l A3, [A6 + 0x8]
00001CEC 4AAB 0010 tst.l [A3 + 0x10]
00001CF0 6728 beq +0x2A /* 00001D1A */
00001CF2 7C01 moveq.l D6, 0x01
00001CF4 2F2B 0010 move.l -[A7], [A3 + 0x10]
00001CF8 2F2B 000C move.l -[A7], [A3 + 0xC]
00001CFC 4EBA F92C jsr [PC - 0x6D4 /* 0000162A */]
00001D00 3E00 move.w D7, D0
00001D02 508F addq.l A7, 8
00001D04 6756 beq +0x58 /* 00001D5C */
00001D06 558F subq.l A7, 2
00001D08 2F2B 0010 move.l -[A7], [A3 + 0x10]
00001D0C 3F2D AF2A move.w -[A7], [A5 - 0x50D6]
00001D10 4EBA 4AFC jsr [PC + 0x4AFC /* 0000680E */]
00001D14 3B5F AF2C move.w [A5 - 0x50D4], [A7]+
00001D18 6042 bra +0x44 /* 00001D5C */
label00001D1A:
00001D1A 7042 moveq.l D0, 0x42
00001D1C 2F00 move.l -[A7], D0
00001D1E 486E FF00 pea.l [A6 - 0x100]
00001D22 4EBA 2392 jsr [PC + 0x2392 /* 000040B6 */]
00001D26 41EE FF00 lea.l A0, [A6 - 0x100]
00001D2A 2888 move.l [A4], A0
00001D2C 296D E4D0 0004 move.l [A4 + 0x4], [A5 - 0x1B30]
00001D32 296D E4D4 0008 move.l [A4 + 0x8], [A5 - 0x1B2C]
00001D38 7001 moveq.l D0, 0x01
00001D3A 2F00 move.l -[A7], D0
00001D3C 7202 moveq.l D1, 0x02
00001D3E 2F01 move.l -[A7], D1
00001D40 7003 moveq.l D0, 0x03
00001D42 2F00 move.l -[A7], D0
00001D44 2F0C move.l -[A7], A4
00001D46 4EAD 2012 jsr [A5 + 0x2012 /* export_1022 */]
00001D4A 48C0 ext.l D0
00001D4C 2C00 move.l D6, D0
00001D4E 5386 subq.l D6, 1
00001D50 4A86 tst.l D6
00001D52 57C7 seq D7
00001D54 0247 0001 andi.w D7, 0x1
00001D58 4FEF 0018 lea.l A7, [A7 + 0x18]
label00001D5C:
00001D5C 4A47 tst.w D7
00001D5E 6612 bne +0x14 /* 00001D72 */
00001D60 026B FFBF 0018 andi.w [A3 + 0x18], 0xFFBF
00001D66 7000 moveq.l D0, 0x00
00001D68 2F00 move.l -[A7], D0
00001D6A 2F0B move.l -[A7], A3
00001D6C 4EBA F474 jsr [PC - 0xB8C /* 000011E2 */]
00001D70 508F addq.l A7, 8
label00001D72:
00001D72 2006 move.l D0, D6
00001D74 4CEE 18C0 FEE0 movem.l D6,D7,A3,A4, [A6 - 0x120]
00001D7A 4E5E unlink A6
00001D7C 4E75 rts
fn00001D7E:
00001D7E 48E7 0110 movem.l -[A7], D7,A3
00001D82 266F 000C movea.l A3, [A7 + 0xC]
00001D86 4EAD 09D2 jsr [A5 + 0x9D2 /* export_310 */]
00001D8A 3F2B 0002 move.w -[A7], [A3 + 0x2]
00001D8E A998 syscall UseResFile
00001D90 2F2B 0004 move.l -[A7], [A3 + 0x4]
00001D94 2F2B 0008 move.l -[A7], [A3 + 0x8]
00001D98 3F2B 000C move.w -[A7], [A3 + 0xC]
00001D9C 486B 0010 pea.l [A3 + 0x10]
00001DA0 A9AB syscall AddResource
00001DA2 558F subq.l A7, 2
00001DA4 A9AF syscall ResError
00001DA6 3E1F move.w D7, [A7]+
00001DA8 6622 bne +0x24 /* 00001DCC */
00001DAA 2F2B 0004 move.l -[A7], [A3 + 0x4]
00001DAE 7002 moveq.l D0, 0x02
00001DB0 806B 000E or.w D0, [A3 + 0xE]
00001DB4 3F00 move.w -[A7], D0
00001DB6 A9A7 syscall SetResAttrs
00001DB8 2F2B 0004 move.l -[A7], [A3 + 0x4]
00001DBC A9B0 syscall WriteResource
00001DBE 558F subq.l A7, 2
00001DC0 A9AF syscall ResError
00001DC2 3E1F move.w D7, [A7]+
00001DC4 2F2B 0004 move.l -[A7], [A3 + 0x4]
00001DC8 A9A3 syscall ReleaseResource
00001DCA 6008 bra +0xA /* 00001DD4 */
label00001DCC:
00001DCC 2F2B 0004 move.l -[A7], [A3 + 0x4]
00001DD0 4EBA 4712 jsr [PC + 0x4712 /* 000064E4 */]
label00001DD4:
00001DD4 3007 move.w D0, D7
00001DD6 4CDF 0880 movem.l D7,A3, [A7]+
00001DDA 4E75 rts
fn00001DDC:
00001DDC 4E56 F6B0 link A6, -0x0950
00001DE0 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00001DE4 286E 000C movea.l A4, [A6 + 0xC]
00001DE8 47EE F7C0 lea.l A3, [A6 - 0x840]
00001DEC 558F subq.l A7, 2
00001DEE A994 syscall CurResFile
00001DF0 381F move.w D4, [A7]+
00001DF2 7034 moveq.l D0, 0x34
00001DF4 2F00 move.l -[A7], D0
00001DF6 486E FFC4 pea.l [A6 - 0x3C]
00001DFA 4EAD 1B02 jsr [A5 + 0x1B02 /* export_860 */]
00001DFE 558F subq.l A7, 2
00001E00 206E 0008 movea.l A0, [A6 + 0x8]
00001E04 2F28 000C move.l -[A7], [A0 + 0xC]
00001E08 7000 moveq.l D0, 0x00
00001E0A 2F00 move.l -[A7], D0
00001E0C 2F2D B1F8 move.l -[A7], [A5 - 0x4E08]
00001E10 486E FFF8 pea.l [A6 - 0x8]
00001E14 486E FFFA pea.l [A6 - 0x6]
00001E18 486E FFFC pea.l [A6 - 0x4]
00001E1C 4EBA 345E jsr [PC + 0x345E /* 0000527C */]
00001E20 4A1F tst.b [A7]+
00001E22 508F addq.l A7, 8
00001E24 6708 beq +0xA /* 00001E2E */
00001E26 3D6E FFF8 FFDA move.w [A6 - 0x26], [A6 - 0x8]
00001E2C 6006 bra +0x8 /* 00001E34 */
label00001E2E:
00001E2E 3D6D AF2A FFDA move.w [A6 - 0x26], [A5 - 0x50D6]
label00001E34:
00001E34 206E 0008 movea.l A0, [A6 + 0x8]
00001E38 2D68 000C FFD6 move.l [A6 - 0x2A], [A0 + 0xC]
00001E3E 7000 moveq.l D0, 0x00
00001E40 102D AECC move.b D0, [A5 - 0x5134]
00001E44 3D40 FFDE move.w [A6 - 0x22], D0
00001E48 558F subq.l A7, 2
00001E4A 486E FFC4 pea.l [A6 - 0x3C]
00001E4E 7000 moveq.l D0, 0x00
00001E50 1F00 move.b -[A7], D0
00001E52 4EBA 4BB4 jsr [PC + 0x4BB4 /* 00006A08 */]
00001E56 3B5F AF2C move.w [A5 - 0x50D4], [A7]+
00001E5A 6600 0126 bne +0x128 /* 00001F82 */
00001E5E 3A2E FFDC move.w D5, [A6 - 0x24]
00001E62 2F2C 000C move.l -[A7], [A4 + 0xC]
00001E66 A9B1 syscall CreateResFile
00001E68 558F subq.l A7, 2
00001E6A A9AF syscall ResError
00001E6C 3B5F AF2C move.w [A5 - 0x50D4], [A7]+
00001E70 6600 00DC bne +0xDE /* 00001F4E */
00001E74 7034 moveq.l D0, 0x34
00001E76 2F00 move.l -[A7], D0
00001E78 486E FFC4 pea.l [A6 - 0x3C]
00001E7C 4EAD 1B02 jsr [A5 + 0x1B02 /* export_860 */]
00001E80 558F subq.l A7, 2
00001E82 2F2C 000C move.l -[A7], [A4 + 0xC]
00001E86 7000 moveq.l D0, 0x00
00001E88 2F00 move.l -[A7], D0
00001E8A 2F2D B1F8 move.l -[A7], [A5 - 0x4E08]
00001E8E 486E FFF8 pea.l [A6 - 0x8]
00001E92 486E FFFA pea.l [A6 - 0x6]
00001E96 486E FFFC pea.l [A6 - 0x4]
00001E9A 4EBA 33E0 jsr [PC + 0x33E0 /* 0000527C */]
00001E9E 4A1F tst.b [A7]+
00001EA0 508F addq.l A7, 8
00001EA2 6708 beq +0xA /* 00001EAC */
00001EA4 3D6E FFF8 FFDA move.w [A6 - 0x26], [A6 - 0x8]
00001EAA 6006 bra +0x8 /* 00001EB2 */
label00001EAC:
00001EAC 3D6D AF2A FFDA move.w [A6 - 0x26], [A5 - 0x50D6]
label00001EB2:
00001EB2 2D6C 000C FFD6 move.l [A6 - 0x2A], [A4 + 0xC]
00001EB8 7000 moveq.l D0, 0x00
00001EBA 102D AECD move.b D0, [A5 - 0x5133]
00001EBE 3D40 FFDE move.w [A6 - 0x22], D0
00001EC2 558F subq.l A7, 2
00001EC4 486E FFC4 pea.l [A6 - 0x3C]
00001EC8 7000 moveq.l D0, 0x00
00001ECA 1F00 move.b -[A7], D0
00001ECC 4EBA 4B3A jsr [PC + 0x4B3A /* 00006A08 */]
00001ED0 3B5F AF2C move.w [A5 - 0x50D4], [A7]+
00001ED4 6678 bne +0x7A /* 00001F4E */
00001ED6 3C2E FFDC move.w D6, [A6 - 0x24]
label00001EDA:
00001EDA 2D7C 0000 0800 FFC0 move.l [A6 - 0x40], 0x800
00001EE2 558F subq.l A7, 2
00001EE4 3F05 move.w -[A7], D5
00001EE6 486E FFC0 pea.l [A6 - 0x40]
00001EEA 2F0B move.l -[A7], A3
00001EEC 4EBA 47F6 jsr [PC + 0x47F6 /* 000066E4 */]
00001EF0 3B5F AF2C move.w [A5 - 0x50D4], [A7]+
00001EF4 670C beq +0xE /* 00001F02 */
00001EF6 302D AF2C move.w D0, [A5 - 0x50D4]
00001EFA 48C0 ext.l D0
00001EFC 72D9 moveq.l D1, 0xFFFFFFD9
00001EFE B280 cmp.l D1, D0
00001F00 661C bne +0x1E /* 00001F1E */
label00001F02:
00001F02 4AAE FFC0 tst.l [A6 - 0x40]
00001F06 6716 beq +0x18 /* 00001F1E */
00001F08 558F subq.l A7, 2
00001F0A 3F06 move.w -[A7], D6
00001F0C 486E FFC0 pea.l [A6 - 0x40]
00001F10 2F0B move.l -[A7], A3
00001F12 4EBA 47D4 jsr [PC + 0x47D4 /* 000066E8 */]
00001F16 3E1F move.w D7, [A7]+
00001F18 6704 beq +0x6 /* 00001F1E */
00001F1A 3B47 AF2C move.w [A5 - 0x50D4], D7
label00001F1E:
00001F1E 4A6D AF2C tst.w [A5 - 0x50D4]
00001F22 67B6 beq -0x48 /* 00001EDA */
00001F24 302D AF2C move.w D0, [A5 - 0x50D4]
00001F28 48C0 ext.l D0
00001F2A 72D9 moveq.l D1, 0xFFFFFFD9
00001F2C B280 cmp.l D1, D0
00001F2E 6604 bne +0x6 /* 00001F34 */
00001F30 426D AF2C clr.w [A5 - 0x50D4]
label00001F34:
00001F34 3D46 FFDC move.w [A6 - 0x24], D6
00001F38 7000 moveq.l D0, 0x00
00001F3A 2D40 FFD0 move.l [A6 - 0x30], D0
00001F3E 558F subq.l A7, 2
00001F40 486E FFC4 pea.l [A6 - 0x3C]
00001F44 7200 moveq.l D1, 0x00
00001F46 1F01 move.b -[A7], D1
00001F48 4EBA 4712 jsr [PC + 0x4712 /* 0000665C */]
00001F4C 548F addq.l A7, 2
label00001F4E:
00001F4E 3D45 FFDC move.w [A6 - 0x24], D5
00001F52 7000 moveq.l D0, 0x00
00001F54 2D40 FFD0 move.l [A6 - 0x30], D0
00001F58 558F subq.l A7, 2
00001F5A 486E FFC4 pea.l [A6 - 0x3C]
00001F5E 7200 moveq.l D1, 0x00
00001F60 1F01 move.b -[A7], D1
00001F62 4EBA 46F8 jsr [PC + 0x46F8 /* 0000665C */]
00001F66 4A6D AF2C tst.w [A5 - 0x50D4]
00001F6A 548F addq.l A7, 2
00001F6C 660C bne +0xE /* 00001F7A */
00001F6E 2F0C move.l -[A7], A4
00001F70 4EBA EAB8 jsr [PC - 0x1548 /* 00000A2A */]
00001F74 588F addq.l A7, 4
00001F76 6000 00C8 bra +0xCA /* 00002040 */
label00001F7A:
00001F7A 3F04 move.w -[A7], D4
00001F7C A998 syscall UseResFile
00001F7E 6000 00C0 bra +0xC2 /* 00002040 */
label00001F82:
00001F82 302D AF2C move.w D0, [A5 - 0x50D4]
00001F86 48C0 ext.l D0
00001F88 72D5 moveq.l D1, 0xFFFFFFD5
00001F8A B280 cmp.l D1, D0
00001F8C 6600 00B2 bne +0xB4 /* 00002040 */
00001F90 426D AF2C clr.w [A5 - 0x50D4]
00001F94 4AAD AF24 tst.l [A5 - 0x50DC]
00001F98 6700 00A6 beq +0xA8 /* 00002040 */
00001F9C 2F2C 000C move.l -[A7], [A4 + 0xC]
00001FA0 A9B1 syscall CreateResFile
00001FA2 558F subq.l A7, 2
00001FA4 A9AF syscall ResError
00001FA6 3B5F AF2C move.w [A5 - 0x50D4], [A7]+
00001FAA 6600 0094 bne +0x96 /* 00002040 */
00001FAE 558F subq.l A7, 2
00001FB0 2F2C 000C move.l -[A7], [A4 + 0xC]
00001FB4 7000 moveq.l D0, 0x00
00001FB6 2F00 move.l -[A7], D0
00001FB8 2F2D B1F8 move.l -[A7], [A5 - 0x4E08]
00001FBC 486E FFF8 pea.l [A6 - 0x8]
00001FC0 486E FFFA pea.l [A6 - 0x6]
00001FC4 486E FFFC pea.l [A6 - 0x4]
00001FC8 4EBA 32B2 jsr [PC + 0x32B2 /* 0000527C */]
00001FCC 4A1F tst.b [A7]+
00001FCE 6606 bne +0x8 /* 00001FD6 */
00001FD0 3D6D AF2A FFF8 move.w [A6 - 0x8], [A5 - 0x50D6]
label00001FD6:
00001FD6 558F subq.l A7, 2
00001FD8 2F2C 000C move.l -[A7], [A4 + 0xC]
00001FDC 3F2E FFF8 move.w -[A7], [A6 - 0x8]
00001FE0 1F2D AECD move.b -[A7], [A5 - 0x5133]
00001FE4 A9C4 syscall OpenRFPerm
00001FE6 3C1F move.w D6, [A7]+
00001FE8 558F subq.l A7, 2
00001FEA A9AF syscall ResError
00001FEC 3B5F AF2C move.w [A5 - 0x50D4], [A7]+
00001FF0 664E bne +0x50 /* 00002040 */
00001FF2 2D6D AF24 F6B4 move.l [A6 - 0x94C], [A5 - 0x50DC]
00001FF8 558F subq.l A7, 2
00001FFA 486E F6B4 pea.l [A6 - 0x94C]
00001FFE 4EBA 4BB2 jsr [PC + 0x4BB2 /* 00006BB2 */]
00002002 3B5F AF2C move.w [A5 - 0x50D4], [A7]+
00002006 6630 bne +0x32 /* 00002038 */
00002008 48C6 ext.l D6
0000200A 2D46 F6B0 move.l [A6 - 0x950], D6
0000200E 2D7C 5354 5220 F6B8 move.l [A6 - 0x948], 0x53545220 /* 'STR ' */
00002016 3D7C BFF4 F6BC move.w [A6 - 0x944], 0xBFF4
0000201C 426E F6BE clr.w [A6 - 0x942]
00002020 422E F6C0 clr.b [A6 - 0x940]
00002024 486E F6B0 pea.l [A6 - 0x950]
00002028 4EBA FD54 jsr [PC - 0x2AC /* 00001D7E */]
0000202C 3B40 AF2C move.w [A5 - 0x50D4], D0
00002030 588F addq.l A7, 4
00002032 6604 bne +0x6 /* 00002038 */
00002034 3F06 move.w -[A7], D6
00002036 A999 syscall UpdateResFile
label00002038:
00002038 3F06 move.w -[A7], D6
0000203A A99A syscall CloseResFile
0000203C 3F04 move.w -[A7], D4
0000203E A998 syscall UseResFile
label00002040:
00002040 4EBA F794 jsr [PC - 0x86C /* 000017D6 */]
00002044 4CEE 18F0 F698 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x968]
0000204A 4E5E unlink A6
0000204C 4E75 rts
fn0000204E:
0000204E 4E56 FF94 link A6, -0x006C
00002052 48E7 0018 movem.l -[A7], A3,A4
00002056 286E 000C movea.l A4, [A6 + 0xC]
0000205A 266E 0008 movea.l A3, [A6 + 0x8]
0000205E 7000 moveq.l D0, 0x00
00002060 2D40 FFA0 move.l [A6 - 0x60], D0
00002064 2D6B 000C FFA6 move.l [A6 - 0x5A], [A3 + 0xC]
0000206A 426E FFAA clr.w [A6 - 0x56]
0000206E 7202 moveq.l D1, 0x02
00002070 2D41 FFC4 move.l [A6 - 0x3C], D1
00002074 426E FFB0 clr.w [A6 - 0x50]
00002078 558F subq.l A7, 2
0000207A 486E FF94 pea.l [A6 - 0x6C]
0000207E 7000 moveq.l D0, 0x00
00002080 1F00 move.b -[A7], D0
00002082 4EBA 4900 jsr [PC + 0x4900 /* 00006984 */]
00002086 4A5F tst.w [A7]+
00002088 661E bne +0x20 /* 000020A8 */
0000208A 2D6C 000C FFA6 move.l [A6 - 0x5A], [A4 + 0xC]
00002090 7002 moveq.l D0, 0x02
00002092 2D40 FFC4 move.l [A6 - 0x3C], D0
00002096 558F subq.l A7, 2
00002098 486E FF94 pea.l [A6 - 0x6C]
0000209C 7200 moveq.l D1, 0x00
0000209E 1F01 move.b -[A7], D1
000020A0 4EBA 4900 jsr [PC + 0x4900 /* 000069A2 */]
000020A4 3B5F AF2C move.w [A5 - 0x50D4], [A7]+
label000020A8:
000020A8 4A6D AF2C tst.w [A5 - 0x50D4]
000020AC 6704 beq +0x6 /* 000020B2 */
000020AE 4EBA F726 jsr [PC - 0x8DA /* 000017D6 */]
label000020B2:
000020B2 202D E5C8 move.l D0, [A5 - 0x1A38]
000020B6 4CEE 1800 FF8C movem.l A3,A4, [A6 - 0x74]
000020BC 4E5E unlink A6
000020BE 4E75 rts
export_40:
fn000020C0:
000020C0 4E56 FFD0 link A6, -0x0030
000020C4 41EE FFD0 lea.l A0, [A6 - 0x30]
000020C8 48D0 FCFC movem.l [A0], D2,D3,D4,D5,D6,D7,A2,A3,A4,A5,A6,A7
000020CC 2278 0316 movea.l A1, [0x00000316 /* HpChk/MacPgm */]
000020D0 2348 0014 move.l [A1 + 0x14], A0
000020D4 2069 0004 movea.l A0, [A1 + 0x4]
000020D8 30AD FDDC move.w [A0], [A5 - 0x224]
000020DC 2A69 000C movea.l A5, [A1 + 0xC]
000020E0 7E00 moveq.l D7, 0x00
000020E2 226E 0008 movea.l A1, [A6 + 0x8]
000020E6 2F28 0002 move.l -[A7], [A0 + 0x2]
000020EA 2F28 0006 move.l -[A7], [A0 + 0x6]
000020EE 2F28 000A move.l -[A7], [A0 + 0xA]
000020F2 21CD 0904 move.l [0x00000904 /* CurrentA5 */], A5
000020F6 4E91 jsr [A1]
000020F8 2278 0316 movea.l A1, [0x00000316 /* HpChk/MacPgm */]
000020FC 2069 0014 movea.l A0, [A1 + 0x14]
00002100 4CD0 FCFC movem.l D2,D3,D4,D5,D6,D7,A2,A3,A4,A5,A6,A7, [A0]
00002104 21CD 0904 move.l [0x00000904 /* CurrentA5 */], A5
00002108 2069 0004 movea.l A0, [A1 + 0x4]
0000210C 4AA8 000E tst.l [A0 + 0xE]
00002110 6704 beq +0x6 /* 00002116 */
00002112 2028 000E move.l D0, [A0 + 0xE]
label00002116:
00002116 4E5E unlink A6
00002118 4E75 rts
export_41:
0000211A 4E56 FFFC link A6, -0x0004
0000211E 226E 0008 movea.l A1, [A6 + 0x8]
00002122 2029 0010 move.l D0, [A1 + 0x10]
00002126 5480 addq.l D0, 2
00002128 2F00 move.l -[A7], D0
0000212A 4EBA FF94 jsr [PC - 0x6C /* 000020C0 */]
0000212E 4E5E unlink A6
00002130 4E75 rts
fn00002132:
00002132 3238 0934 move.w D1, [0x00000934 /* CurJTOffset */]
00002136 48C1 ext.l D1
00002138 200D move.l D0, A5
0000213A D081 add.l D0, D1
0000213C 4E75 rts
export_42:
0000213E 4E56 FFFC link A6, -0x0004
00002142 48EE 0004 FFFC movem.l [A6 - 0x4], D2
00002148 240D move.l D2, A5
0000214A 2A78 0904 movea.l A5, [0x00000904 /* CurrentA5 */]
0000214E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002152 4EBA 015E jsr [PC + 0x15E /* 000022B2 */]
00002156 2D40 000C move.l [A6 + 0xC], D0
0000215A 2A42 movea.l A5, D2
0000215C 4CEE 0004 FFFC movem.l D2, [A6 - 0x4]
00002162 4E5E unlink A6
00002164 205F movea.l A0, [A7]+
00002166 588F addq.l A7, 4
00002168 4ED0 jmp [A0]
export_43:
0000216A 4E56 0000 link A6, 0
0000216E 48E7 3F00 movem.l -[A7], D2,D3,D4,D5,D6,D7
00002172 206E 0010 movea.l A0, [A6 + 0x10]
00002176 5088 addq.l A0, 8
00002178 226E 0008 movea.l A1, [A6 + 0x8]
0000217C 7A01 moveq.l D5, 0x01
0000217E 2019 move.l D0, [A1]+
00002180 2619 move.l D3, [A1]+
00002182 226E 000C movea.l A1, [A6 + 0xC]
00002186 2C19 move.l D6, [A1]+
00002188 2E19 move.l D7, [A1]+
label0000218A:
0000218A 7200 moveq.l D1, 0x00
0000218C 7800 moveq.l D4, 0x00
0000218E 740F moveq.l D2, 0x0F
label00002190:
00002190 E288 lsr D0, 1
00002192 E291 roxr D1, 1
00002194 E28E lsr D6, 1
00002196 E291 roxr D1, 1
00002198 E28B lsr D3, 1
0000219A E294 roxr D4, 1
0000219C E28F lsr D7, 1
0000219E E294 roxr D4, 1
000021A0 51CA FFEE dbf D2, -0x14 /* 00002190 */
000021A4 2101 move.l -[A0], D1
000021A6 2144 0008 move.l [A0 + 0x8], D4
000021AA 51CD FFDE dbf D5, -0x24 /* 0000218A */
000021AE 4CDF 003C movem.l D2,D3,D4,D5, [A7]+
000021B2 4E5E unlink A6
000021B4 4E75 rts
export_44:
000021B6 4E56 0000 link A6, 0
000021BA 7000 moveq.l D0, 0x00
000021BC 206E 000C movea.l A0, [A6 + 0xC]
000021C0 102E 0008 move.b D0, [A6 + 0x8]
000021C4 3200 move.w D1, D0
000021C6 E149 lsl D1.w, 8
000021C8 8240 or.w D1, D0
000021CA 30C1 move.w [A0]+, D1
000021CC 102E 0009 move.b D0, [A6 + 0x9]
000021D0 3200 move.w D1, D0
000021D2 E149 lsl D1.w, 8
000021D4 8240 or.w D1, D0
000021D6 30C1 move.w [A0]+, D1
000021D8 102E 000A move.b D0, [A6 + 0xA]
000021DC 3200 move.w D1, D0
000021DE E149 lsl D1.w, 8
000021E0 8240 or.w D1, D0
000021E2 30C1 move.w [A0]+, D1
000021E4 4E5E unlink A6
000021E6 4E75 rts
export_45:
fn000021E8:
000021E8 202F 0004 move.l D0, [A7 + 0x4]
000021EC 672A beq +0x2C /* 00002218 */
000021EE 2040 movea.l A0, D0
000021F0 2248 movea.l A1, A0
000021F2 1019 move.b D0, [A1]+
000021F4 671E beq +0x20 /* 00002214 */
label000021F6:
000021F6 1211 move.b D1, [A1]
000021F8 12C0 move.b [A1]+, D0
000021FA 1001 move.b D0, D1
000021FC 66F8 bne -0x6 /* 000021F6 */
000021FE 93C8 sub.l A1, A0
00002200 2009 move.l D0, A1
00002202 5340 subq.w D0, 1
00002204 0C80 0000 00FF cmpi.l D0, 0xFF
0000220A 6F06 ble +0x8 /* 00002212 */
0000220C 203C 0000 00FF move.l D0, 0xFF
label00002212:
00002212 1080 move.b [A0], D0
label00002214:
00002214 202F 0004 move.l D0, [A7 + 0x4]
label00002218:
00002218 4E75 rts
export_46:
0000221A 2F07 move.l -[A7], D7
0000221C 598F subq.l A7, 4
0000221E 598F subq.l A7, 4
00002220 2EA8 FFFC move.l [A7], [A0 - 0x4]
00002224 2F4D 0004 move.l [A7 + 0x4], A5
00002228 2A5F movea.l A5, [A7]+
0000222A 2E1F move.l D7, [A7]+
0000222C 4A6D AF5C tst.w [A5 - 0x50A4]
00002230 664C bne +0x4E /* 0000227E */
00002232 303C 0080 move.w D0, 0x80
00002236 C038 0179 and.b D0, [0x00000179]
0000223A 6742 beq +0x44 /* 0000227E */
0000223C 303C 0080 move.w D0, 0x80
00002240 C038 017A and.b D0, [0x0000017A]
00002244 6738 beq +0x3A /* 0000227E */
00002246 4AAD B25C tst.l [A5 - 0x4DA4]
0000224A 6606 bne +0x8 /* 00002252 */
0000224C 4AAD B260 tst.l [A5 - 0x4DA0]
00002250 6706 beq +0x8 /* 00002258 */
label00002252:
00002252 3B7C 0001 B25A move.w [A5 - 0x4DA6], 0x1
label00002258:
00002258 4A6D AF62 tst.w [A5 - 0x509E]
0000225C 6628 bne +0x2A /* 00002286 */
0000225E 4A6D AF64 tst.w [A5 - 0x509C]
00002262 6622 bne +0x24 /* 00002286 */
00002264 4A6D E5CC tst.w [A5 - 0x1A34]
00002268 671C beq +0x1E /* 00002286 */
0000226A 4A6D FC62 tst.w [A5 - 0x39E]
0000226E 6616 bne +0x18 /* 00002286 */
00002270 3B7C 0001 AF62 move.w [A5 - 0x509E], 0x1
00002276 3B7C 0001 E5CE move.w [A5 - 0x1A32], 0x1
0000227C 6008 bra +0xA /* 00002286 */
label0000227E:
0000227E 426D AF62 clr.w [A5 - 0x509E]
00002282 426D AF64 clr.w [A5 - 0x509C]
label00002286:
00002286 3B7C 0002 AF54 move.w [A5 - 0x50AC], 0x2
0000228C 598F subq.l A7, 4
0000228E 2F07 move.l -[A7], D7
00002290 2F4D 0004 move.l [A7 + 0x4], A5
00002294 2A5F movea.l A5, [A7]+
00002296 588F addq.l A7, 4
00002298 2E1F move.l D7, [A7]+
0000229A 4E75 rts
export_47:
0000229C 2F0B move.l -[A7], A3
0000229E 266F 0008 movea.l A3, [A7 + 0x8]
000022A2 206B 0004 movea.l A0, [A3 + 0x4]
000022A6 30BC 0001 move.w [A0], 0x1
000022AA 265F movea.l A3, [A7]+
000022AC 205F movea.l A0, [A7]+
000022AE 504F addq.w A7, 8
000022B0 4ED0 jmp [A0]
fn000022B2:
000022B2 4E56 0000 link A6, 0
000022B6 48E7 0F10 movem.l -[A7], D4,D5,D6,D7,A3
000022BA 7C00 moveq.l D6, 0x00
000022BC 598F subq.l A7, 4
000022BE 2E8D move.l [A7], A5
000022C0 2A78 0904 movea.l A5, [0x00000904 /* CurrentA5 */]
000022C4 281F move.l D4, [A7]+
000022C6 598F subq.l A7, 4
000022C8 4EBA 3F3E jsr [PC + 0x3F3E /* 00006208 */]
000022CC 201F move.l D0, [A7]+
000022CE B0AD AF42 cmp.l D0, [A5 - 0x50BE]
000022D2 6676 bne +0x78 /* 0000234A */
000022D4 41ED 2342 lea.l A0, [A5 + 0x2342 /* export_1124 */]
000022D8 2648 movea.l A3, A0
000022DA 558B subq.l A3, 2
000022DC 0C6B 3F3C 0002 cmpi.w [A3 + 0x2], 0x3F3C /* '?<' */
000022E2 6608 bne +0xA /* 000022EC */
000022E4 302B 0004 move.w D0, [A3 + 0x4]
000022E8 48C0 ext.l D0
000022EA 6004 bra +0x6 /* 000022F0 */
label000022EC:
000022EC 3013 move.w D0, [A3]
000022EE 48C0 ext.l D0
label000022F0:
000022F0 3A00 move.w D5, D0
000022F2 4EBA FE3E jsr [PC - 0x1C2 /* 00002132 */]
000022F6 2640 movea.l A3, D0
000022F8 7E02 moveq.l D7, 0x02
000022FA 603E bra +0x40 /* 0000233A */
label000022FC:
000022FC 206D AFD6 movea.l A0, [A5 - 0x502A]
00002300 48C7 ext.l D7
00002302 2007 move.l D0, D7
00002304 D080 add.l D0, D0
00002306 4A70 0800 tst.w [A0 + D0]
0000230A 662C bne +0x2E /* 00002338 */
0000230C BA47 cmp.w D5, D7
0000230E 6728 beq +0x2A /* 00002338 */
label00002310:
00002310 302B 0002 move.w D0, [A3 + 0x2]
00002314 48C0 ext.l D0
00002316 0C80 0000 4EF9 cmpi.l D0, 0x4EF9
0000231C 660E bne +0x10 /* 0000232C */
0000231E BE53 cmp.w D7, [A3]
00002320 6610 bne +0x12 /* 00002332 */
00002322 486B 0002 pea.l [A3 + 0x2]
00002326 A9F1 syscall UnloadSeg
00002328 5286 addq.l D6, 1
0000232A 600C bra +0xE /* 00002338 */
label0000232C:
0000232C BE6B 0004 cmp.w D7, [A3 + 0x4]
00002330 6706 beq +0x8 /* 00002338 */
label00002332:
00002332 D6FC 0008 add.w A3, 0x8
00002336 60D8 bra -0x26 /* 00002310 */
label00002338:
00002338 5247 addq.w D7, 1
label0000233A:
0000233A 206D AFD6 movea.l A0, [A5 - 0x502A]
0000233E BE50 cmp.w D7, [A0]
00002340 6DBA blt -0x44 /* 000022FC */
00002342 3B7C 0001 AF66 move.w [A5 - 0x509A], 0x1
00002348 6008 bra +0xA /* 00002352 */
label0000234A:
0000234A 4EAD 1962 jsr [A5 + 0x1962 /* export_808 */]
0000234E 48C0 ext.l D0
00002350 2C00 move.l D6, D0
label00002352:
00002352 598F subq.l A7, 4
00002354 2F04 move.l -[A7], D4
00002356 2F4D 0004 move.l [A7 + 0x4], A5
0000235A 2A5F movea.l A5, [A7]+
0000235C 2006 move.l D0, D6
0000235E 588F addq.l A7, 4
00002360 4CEE 08F0 FFEC movem.l D4,D5,D6,D7,A3, [A6 - 0x14]
00002366 4E5E unlink A6
00002368 4E75 rts
export_48:
fn0000236A:
0000236A 70FF moveq.l D0, 0xFFFFFFFF
0000236C 2F00 move.l -[A7], D0
0000236E 4EBA 2702 jsr [PC + 0x2702 /* 00004A72 */]
00002372 588F addq.l A7, 4
00002374 4E75 rts
export_49:
fn00002376:
00002376 4E56 0000 link A6, 0
0000237A 48E7 0018 movem.l -[A7], A3,A4
0000237E 286E 000C movea.l A4, [A6 + 0xC]
00002382 266E 0008 movea.l A3, [A6 + 0x8]
00002386 2F3C FFFF FBFF move.l -[A7], 0xFFFFFBFF
0000238C 2F2E 0010 move.l -[A7], [A6 + 0x10]
00002390 2F0C move.l -[A7], A4
00002392 2F0B move.l -[A7], A3
00002394 4EBA 005C jsr [PC + 0x5C /* 000023F2 */]
00002398 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
0000239E 4E5E unlink A6
000023A0 4E75 rts
fn000023A2:
000023A2 4E56 FEFC link A6, -0x0104
000023A6 48E7 0110 movem.l -[A7], D7,A3
000023AA 2E2E 0008 move.l D7, [A6 + 0x8]
000023AE 47EE FEFC lea.l A3, [A6 - 0x104]
000023B2 7029 moveq.l D0, 0x29
000023B4 B087 cmp.l D0, D7
000023B6 660C bne +0xE /* 000023C4 */
000023B8 486D 26D2 pea.l [A5 + 0x26D2 /* export_1238 */]
000023BC 4EBA 256C jsr [PC + 0x256C /* 0000492A */]
000023C0 588F addq.l A7, 4
000023C2 6024 bra +0x26 /* 000023E8 */
label000023C4:
000023C4 2F07 move.l -[A7], D7
000023C6 2F0B move.l -[A7], A3
000023C8 4EBA 1CEC jsr [PC + 0x1CEC /* 000040B6 */]
000023CC 4A13 tst.b [A3]
000023CE 508F addq.l A7, 8
000023D0 6716 beq +0x18 /* 000023E8 */
000023D2 7000 moveq.l D0, 0x00
000023D4 1013 move.b D0, [A3]
000023D6 5280 addq.l D0, 1
000023D8 4233 0000 clr.b [A3 + D0.w]
000023DC 200B move.l D0, A3
000023DE 5280 addq.l D0, 1
000023E0 2F00 move.l -[A7], D0
000023E2 4EAD 1062 jsr [A5 + 0x1062 /* export_520 */]
000023E6 588F addq.l A7, 4
label000023E8:
000023E8 4CEE 0880 FEF4 movem.l D7,A3, [A6 - 0x10C]
000023EE 4E5E unlink A6
000023F0 4E75 rts
export_50:
fn000023F2:
000023F2 4E56 FFCE link A6, -0x0032
000023F6 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
000023FA 426E FFFC clr.w [A6 - 0x4]
000023FE 4A6D AFA2 tst.w [A5 - 0x505E]
00002402 6706 beq +0x8 /* 0000240A */
00002404 026E 7EBF 0016 andi.w [A6 + 0x16], 0x7EBF
label0000240A:
0000240A 4A6D AFA0 tst.w [A5 - 0x5060]
0000240E 6706 beq +0x8 /* 00002416 */
00002410 026E FEFF 0016 andi.w [A6 + 0x16], 0xFEFF
label00002416:
00002416 4AAE 0008 tst.l [A6 + 0x8]
0000241A 662A bne +0x2C /* 00002446 */
0000241C 4AAE 0010 tst.l [A6 + 0x10]
00002420 6624 bne +0x26 /* 00002446 */
00002422 4A6D AF66 tst.w [A5 - 0x509A]
00002426 671E beq +0x20 /* 00002446 */
00002428 2F2D AF42 move.l -[A7], [A5 - 0x50BE]
0000242C 4EBA 3DE4 jsr [PC + 0x3DE4 /* 00006212 */]
00002430 7000 moveq.l D0, 0x00
00002432 2F00 move.l -[A7], D0
00002434 4EBA FE7C jsr [PC - 0x184 /* 000022B2 */]
00002438 2F2D AF3E move.l -[A7], [A5 - 0x50C2]
0000243C 4EBA 3DD4 jsr [PC + 0x3DD4 /* 00006212 */]
00002440 426D AF66 clr.w [A5 - 0x509A]
00002444 588F addq.l A7, 4
label00002446:
00002446 4A6D E5CE tst.w [A5 - 0x1A32]
0000244A 670C beq +0xE /* 00002458 */
0000244C 703A moveq.l D0, 0x3A
0000244E 3F00 move.w -[A7], D0
00002450 7200 moveq.l D1, 0x00
00002452 3F01 move.w -[A7], D1
00002454 201F move.l D0, [A7]+
00002456 A032 syscall FlushEvents
label00002458:
00002458 4AAE 000C tst.l [A6 + 0xC]
0000245C 673E beq +0x40 /* 0000249C */
0000245E 206E 000C movea.l A0, [A6 + 0xC]
00002462 4A50 tst.w [A0]
00002464 6736 beq +0x38 /* 0000249C */
00002466 4AAE 0008 tst.l [A6 + 0x8]
0000246A 6600 0FDE bne +0xFE0 /* 0000344A */
0000246E 4AAE 0010 tst.l [A6 + 0x10]
00002472 6600 0FD6 bne +0xFD8 /* 0000344A */
00002476 426D E5CE clr.w [A5 - 0x1A32]
0000247A 7001 moveq.l D0, 0x01
0000247C 2F00 move.l -[A7], D0
0000247E 486D 2352 pea.l [A5 + 0x2352 /* export_1126 */]
00002482 4EBA 24CE jsr [PC + 0x24CE /* 00004952 */]
00002486 4EAD 1032 jsr [A5 + 0x1032 /* export_514 */]
0000248A 4A40 tst.w D0
0000248C 508F addq.l A7, 8
0000248E 6600 0FBA bne +0xFBC /* 0000344A */
00002492 206E 000C movea.l A0, [A6 + 0xC]
00002496 4250 clr.w [A0]
00002498 6000 FF7C bra -0x82 /* 00002416 */
label0000249C:
0000249C 4A6D B25A tst.w [A5 - 0x4DA6]
000024A0 6704 beq +0x6 /* 000024A6 */
000024A2 4EBA 2316 jsr [PC + 0x2316 /* 000047BA */]
label000024A6:
000024A6 4A6D AFA8 tst.w [A5 - 0x5058]
000024AA 6602 bne +0x4 /* 000024AE */
000024AC A9B4 syscall SystemTask
label000024AE:
000024AE 4AAD AFA4 tst.l [A5 - 0x505C]
000024B2 671C beq +0x1E /* 000024D0 */
000024B4 206D AFA4 movea.l A0, [A5 - 0x505C]
000024B8 303C 1F80 move.w D0, 0x1F80
000024BC C068 0010 and.w D0, [A0 + 0x10]
000024C0 670E beq +0x10 /* 000024D0 */
000024C2 2F2D AFA4 move.l -[A7], [A5 - 0x505C]
000024C6 486D 25A2 pea.l [A5 + 0x25A2 /* export_1200 */]
000024CA 4EBA 2486 jsr [PC + 0x2486 /* 00004952 */]
000024CE 508F addq.l A7, 8
label000024D0:
000024D0 7000 moveq.l D0, 0x00
000024D2 2F00 move.l -[A7], D0
000024D4 486D 2352 pea.l [A5 + 0x2352 /* export_1126 */]
000024D8 4EBA 2478 jsr [PC + 0x2478 /* 00004952 */]
000024DC 4A6D AFA8 tst.w [A5 - 0x5058]
000024E0 508F addq.l A7, 8
000024E2 6752 beq +0x54 /* 00002536 */
000024E4 558F subq.l A7, 2
000024E6 3F2E 0016 move.w -[A7], [A6 + 0x16]
000024EA 486E FFD2 pea.l [A6 - 0x2E]
000024EE 7000 moveq.l D0, 0x00
000024F0 4AAE 0010 tst.l [A6 + 0x10]
000024F4 6714 beq +0x16 /* 0000250A */
000024F6 4AAE 000C tst.l [A6 + 0xC]
000024FA 670E beq +0x10 /* 0000250A */
000024FC 4AAD B25C tst.l [A5 - 0x4DA4]
00002500 6608 bne +0xA /* 0000250A */
00002502 4AAD B260 tst.l [A5 - 0x4DA0]
00002506 6602 bne +0x4 /* 0000250A */
00002508 7001 moveq.l D0, 0x01
label0000250A:
0000250A 4A80 tst.l D0
0000250C 6714 beq +0x16 /* 00002522 */
0000250E 7038 moveq.l D0, 0x38
00002510 B0AE 0010 cmp.l D0, [A6 + 0x10]
00002514 6C04 bge +0x6 /* 0000251A */
00002516 700F moveq.l D0, 0x0F
00002518 600A bra +0xC /* 00002524 */
label0000251A:
0000251A 202E 0010 move.l D0, [A6 + 0x10]
0000251E E480 asr D0, 2
00002520 6002 bra +0x4 /* 00002524 */
label00002522:
00002522 7000 moveq.l D0, 0x00
label00002524:
00002524 2F00 move.l -[A7], D0
00002526 7000 moveq.l D0, 0x00
00002528 2F00 move.l -[A7], D0
0000252A A860 syscall WaitNextEvent
0000252C 7000 moveq.l D0, 0x00
0000252E 101F move.b D0, [A7]+
00002530 3D40 FFFA move.w [A6 - 0x6], D0
00002534 6014 bra +0x16 /* 0000254A */
label00002536:
00002536 558F subq.l A7, 2
00002538 3F2E 0016 move.w -[A7], [A6 + 0x16]
0000253C 486E FFD2 pea.l [A6 - 0x2E]
00002540 A970 syscall GetNextEvent
00002542 7000 moveq.l D0, 0x00
00002544 101F move.b D0, [A7]+
00002546 3D40 FFFA move.w [A6 - 0x6], D0
label0000254A:
0000254A 4A6E FFFA tst.w [A6 - 0x6]
0000254E 6608 bne +0xA /* 00002558 */
00002550 4A6E FFD2 tst.w [A6 - 0x2E]
00002554 6600 FEC0 bne -0x13E /* 00002416 */
label00002558:
00002558 4AAE 0008 tst.l [A6 + 0x8]
0000255C 6622 bne +0x24 /* 00002580 */
0000255E 4AAE 0010 tst.l [A6 + 0x10]
00002562 661C bne +0x1E /* 00002580 */
00002564 3B7C 0001 FC54 move.w [A5 - 0x3AC], 0x1
0000256A 3B7C 0001 E5CC move.w [A5 - 0x1A34], 0x1
00002570 3B7C 0001 EA58 move.w [A5 - 0x15A8], 0x1
00002576 426D E5CE clr.w [A5 - 0x1A32]
0000257A 026D FFF7 BD00 andi.w [A5 - 0x4300], 0xFFF7
label00002580:
00002580 4AAE 0008 tst.l [A6 + 0x8]
00002584 6606 bne +0x8 /* 0000258C */
00002586 4AAE 0010 tst.l [A6 + 0x10]
0000258A 6614 bne +0x16 /* 000025A0 */
label0000258C:
0000258C 4A6E FFD2 tst.w [A6 - 0x2E]
00002590 56C0 sne D0
00002592 0240 0001 andi.w D0, 0x1
00002596 48C0 ext.l D0
00002598 2F00 move.l -[A7], D0
0000259A 4EBA 12AA jsr [PC + 0x12AA /* 00003846 */]
0000259E 588F addq.l A7, 4
label000025A0:
000025A0 302E FFD2 move.w D0, [A6 - 0x2E]
000025A4 673A beq +0x3C /* 000025E0 */
000025A6 5340 subq.w D0, 1
000025A8 6700 03D8 beq +0x3DA /* 00002982 */
000025AC 5340 subq.w D0, 1
000025AE 6700 0A2E beq +0xA30 /* 00002FDE */
000025B2 5340 subq.w D0, 1
000025B4 6700 0BC8 beq +0xBCA /* 0000317E */
000025B8 5540 subq.w D0, 2
000025BA 6700 0BC2 beq +0xBC4 /* 0000317E */
000025BE 5340 subq.w D0, 1
000025C0 6700 0CF2 beq +0xCF4 /* 000032B4 */
000025C4 5340 subq.w D0, 1
000025C6 6700 0E46 beq +0xE48 /* 0000340E */
000025CA 5340 subq.w D0, 1
000025CC 6700 0BCC beq +0xBCE /* 0000319A */
000025D0 5F40 subq.w D0, 7
000025D2 6700 0CEE beq +0xCF0 /* 000032C2 */
000025D6 5140 subq.w D0, 8
000025D8 6700 0E62 beq +0xE64 /* 0000343C */
000025DC 6000 FE38 bra -0x1C6 /* 00002416 */
label000025E0:
000025E0 7000 moveq.l D0, 0x00
000025E2 4AAE 0010 tst.l [A6 + 0x10]
000025E6 661E bne +0x20 /* 00002606 */
000025E8 7201 moveq.l D1, 0x01
000025EA B26D AF3C cmp.w D1, [A5 - 0x50C4]
000025EE 6616 bne +0x18 /* 00002606 */
000025F0 2F00 move.l -[A7], D0
000025F2 486D 25E2 pea.l [A5 + 0x25E2 /* export_1208 */]
000025F6 4EBA 22B0 jsr [PC + 0x22B0 /* 000048A8 */]
000025FA 588F addq.l A7, 4
000025FC 2200 move.l D1, D0
000025FE 201F move.l D0, [A7]+
00002600 4A41 tst.w D1
00002602 6702 beq +0x4 /* 00002606 */
00002604 7001 moveq.l D0, 0x01
label00002606:
00002606 3D40 FFFE move.w [A6 - 0x2], D0
0000260A 671C beq +0x1E /* 00002628 */
0000260C 426D AF3C clr.w [A5 - 0x50C4]
00002610 7001 moveq.l D0, 0x01
00002612 2F00 move.l -[A7], D0
00002614 2F2D F404 move.l -[A7], [A5 - 0xBFC]
00002618 4EAD 25E2 jsr [A5 + 0x25E2 /* export_1208 */]
0000261C 486D 25E2 pea.l [A5 + 0x25E2 /* export_1208 */]
00002620 4EBA 223A jsr [PC + 0x223A /* 0000485C */]
00002624 4FEF 000C lea.l A7, [A7 + 0xC]
label00002628:
00002628 4A6D AF9E tst.w [A5 - 0x5062]
0000262C 6612 bne +0x14 /* 00002640 */
0000262E 4AAE 000C tst.l [A6 + 0xC]
00002632 660C bne +0xE /* 00002640 */
00002634 202E FFD8 move.l D0, [A6 - 0x28]
00002638 B0AE 0010 cmp.l D0, [A6 + 0x10]
0000263C 6E00 0E12 bgt +0xE14 /* 00003450 */
label00002640:
00002640 70FF moveq.l D0, 0xFFFFFFFF
00002642 B0AE 0010 cmp.l D0, [A6 + 0x10]
00002646 6700 0E08 beq +0xE0A /* 00003450 */
0000264A 7007 moveq.l D0, 0x07
0000264C B06D F976 cmp.w D0, [A5 - 0x68A]
00002650 6708 beq +0xA /* 0000265A */
00002652 7006 moveq.l D0, 0x06
00002654 B06D F976 cmp.w D0, [A5 - 0x68A]
00002658 6650 bne +0x52 /* 000026AA */
label0000265A:
0000265A 486E FFDC pea.l [A6 - 0x24]
0000265E A871 syscall GlobalToLocal
00002660 3B6E FFDE EA54 move.w [A5 - 0x15AC], [A6 - 0x22]
00002666 3B6E FFDC EA52 move.w [A5 - 0x15AE], [A6 - 0x24]
0000266C 206D B9FC movea.l A0, [A5 - 0x4604]
00002670 2668 0124 movea.l A3, [A0 + 0x124]
00002674 200B move.l D0, A3
00002676 6700 FD9E beq -0x260 /* 00002416 */
0000267A 2F0B move.l -[A7], A3
0000267C 4EBA 222A jsr [PC + 0x222A /* 000048A8 */]
00002680 4A40 tst.w D0
00002682 588F addq.l A7, 4
00002684 6700 FD90 beq -0x26E /* 00002416 */
00002688 3E2D AF9E move.w D7, [A5 - 0x5062]
0000268C 7000 moveq.l D0, 0x00
0000268E 3007 move.w D0, D7
00002690 2F00 move.l -[A7], D0
00002692 2F2D EA52 move.l -[A7], [A5 - 0x15AE]
00002696 2F2D B9FC move.l -[A7], [A5 - 0x4604]
0000269A 4E93 jsr [A3]
0000269C 2F0B move.l -[A7], A3
0000269E 4EBA 21BC jsr [PC + 0x21BC /* 0000485C */]
000026A2 4FEF 0010 lea.l A7, [A7 + 0x10]
000026A6 6000 FD6E bra -0x290 /* 00002416 */
label000026AA:
000026AA 4EBA 2442 jsr [PC + 0x2442 /* 00004AEE */]
000026AE 4A40 tst.w D0
000026B0 672E beq +0x30 /* 000026E0 */
000026B2 4A6D AF5C tst.w [A5 - 0x50A4]
000026B6 6600 FD5E bne -0x2A0 /* 00002416 */
000026BA 486D 2712 pea.l [A5 + 0x2712 /* export_1246 */]
000026BE 4EBA 21E8 jsr [PC + 0x21E8 /* 000048A8 */]
000026C2 4A40 tst.w D0
000026C4 588F addq.l A7, 4
000026C6 6700 FD4E beq -0x2B0 /* 00002416 */
000026CA 2F2D B352 move.l -[A7], [A5 - 0x4CAE]
000026CE 4EAD 2712 jsr [A5 + 0x2712 /* export_1246 */]
000026D2 486D 2712 pea.l [A5 + 0x2712 /* export_1246 */]
000026D6 4EBA 2184 jsr [PC + 0x2184 /* 0000485C */]
000026DA 588F addq.l A7, 4
000026DC 6000 FD38 bra -0x2C6 /* 00002416 */
label000026E0:
000026E0 4AAD AFCA tst.l [A5 - 0x5036]
000026E4 6728 beq +0x2A /* 0000270E */
000026E6 206D AFCA movea.l A0, [A5 - 0x5036]
000026EA 4AA8 0140 tst.l [A0 + 0x140]
000026EE 671E beq +0x20 /* 0000270E */
000026F0 2F2D AFCA move.l -[A7], [A5 - 0x5036]
000026F4 4EAD 076A jsr [A5 + 0x76A /* export_233 */]
000026F8 2F2D AFCA move.l -[A7], [A5 - 0x5036]
000026FC 206D AFCA movea.l A0, [A5 - 0x5036]
00002700 2F28 0140 move.l -[A7], [A0 + 0x140]
00002704 4EBA 224C jsr [PC + 0x224C /* 00004952 */]
00002708 4FEF 000C lea.l A7, [A7 + 0xC]
0000270C 6014 bra +0x16 /* 00002722 */
label0000270E:
0000270E 4AAE 0008 tst.l [A6 + 0x8]
00002712 6606 bne +0x8 /* 0000271A */
00002714 4AAE 0010 tst.l [A6 + 0x10]
00002718 6708 beq +0xA /* 00002722 */
label0000271A:
0000271A 4A6D E5CE tst.w [A5 - 0x1A32]
0000271E 6600 0D30 bne +0xD32 /* 00003450 */
label00002722:
00002722 4A6D AF9E tst.w [A5 - 0x5062]
00002726 6604 bne +0x6 /* 0000272C */
00002728 4EAD 19B2 jsr [A5 + 0x19B2 /* export_818 */]
label0000272C:
0000272C 4AAE 0010 tst.l [A6 + 0x10]
00002730 6600 FCE4 bne -0x31A /* 00002416 */
00002734 4A6D AF5C tst.w [A5 - 0x50A4]
00002738 6600 FCDC bne -0x322 /* 00002416 */
0000273C 4A6E FFFE tst.w [A6 - 0x2]
00002740 660A bne +0xC /* 0000274C */
00002742 70FF moveq.l D0, 0xFFFFFFFF
00002744 2F00 move.l -[A7], D0
00002746 4EAD 09C2 jsr [A5 + 0x9C2 /* export_308 */]
0000274A 588F addq.l A7, 4
label0000274C:
0000274C 4A6D AF9E tst.w [A5 - 0x5062]
00002750 6700 00C6 beq +0xC8 /* 00002818 */
00002754 206D AF9A movea.l A0, [A5 - 0x5066]
00002758 2668 0124 movea.l A3, [A0 + 0x124]
0000275C 200B move.l D0, A3
0000275E 6700 00B8 beq +0xBA /* 00002818 */
00002762 202E FFD8 move.l D0, [A6 - 0x28]
00002766 90AE FFF6 sub.l D0, [A6 - 0xA]
0000276A 7205 moveq.l D1, 0x05
0000276C B280 cmp.l D1, D0
0000276E 6E00 00A8 bgt +0xAA /* 00002818 */
00002772 2D6E FFD8 FFF6 move.l [A6 - 0xA], [A6 - 0x28]
00002778 2F2D AF9A move.l -[A7], [A5 - 0x5066]
0000277C 4EAD 076A jsr [A5 + 0x76A /* export_233 */]
00002780 486E FFDC pea.l [A6 - 0x24]
00002784 A871 syscall GlobalToLocal
00002786 7E40 moveq.l D7, 0x40
00002788 302D EA54 move.w D0, [A5 - 0x15AC]
0000278C B06E FFDE cmp.w D0, [A6 - 0x22]
00002790 588F addq.l A7, 4
00002792 660E bne +0x10 /* 000027A2 */
00002794 302D EA52 move.w D0, [A5 - 0x15AE]
00002798 B06E FFDC cmp.w D0, [A6 - 0x24]
0000279C 6604 bne +0x6 /* 000027A2 */
0000279E 0047 0020 ori.w D7, 0x20 /* ' ' */
label000027A2:
000027A2 303C 0100 move.w D0, 0x100
000027A6 C06E FFE0 and.w D0, [A6 - 0x20]
000027AA 6704 beq +0x6 /* 000027B0 */
000027AC 0047 0001 ori.w D7, 0x1
label000027B0:
000027B0 303C 0200 move.w D0, 0x200
000027B4 C06E FFE0 and.w D0, [A6 - 0x20]
000027B8 6704 beq +0x6 /* 000027BE */
000027BA 0047 0002 ori.w D7, 0x2
label000027BE:
000027BE 303C 0800 move.w D0, 0x800
000027C2 C06E FFE0 and.w D0, [A6 - 0x20]
000027C6 6704 beq +0x6 /* 000027CC */
000027C8 0047 0080 ori.w D7, 0x80
label000027CC:
000027CC 4AAE 0008 tst.l [A6 + 0x8]
000027D0 670E beq +0x10 /* 000027E0 */
000027D2 202D AF9A move.l D0, [A5 - 0x5066]
000027D6 B0AD B9FC cmp.l D0, [A5 - 0x4604]
000027DA 6604 bne +0x6 /* 000027E0 */
000027DC 0047 0100 ori.w D7, 0x100
label000027E0:
000027E0 3B6E FFDE EA54 move.w [A5 - 0x15AC], [A6 - 0x22]
000027E6 3B6E FFDC EA52 move.w [A5 - 0x15AE], [A6 - 0x24]
000027EC 2F0B move.l -[A7], A3
000027EE 4EBA 20B8 jsr [PC + 0x20B8 /* 000048A8 */]
000027F2 4A40 tst.w D0
000027F4 588F addq.l A7, 4
000027F6 6700 FC1E beq -0x3E0 /* 00002416 */
000027FA 7000 moveq.l D0, 0x00
000027FC 3007 move.w D0, D7
000027FE 2F00 move.l -[A7], D0
00002800 2F2D EA52 move.l -[A7], [A5 - 0x15AE]
00002804 2F2D AF9A move.l -[A7], [A5 - 0x5066]
00002808 4E93 jsr [A3]
0000280A 2F0B move.l -[A7], A3
0000280C 4EBA 204E jsr [PC + 0x204E /* 0000485C */]
00002810 4FEF 0010 lea.l A7, [A7 + 0x10]
00002814 6000 FC00 bra -0x3FE /* 00002416 */
label00002818:
00002818 4A6D AF9E tst.w [A5 - 0x5062]
0000281C 663A bne +0x3C /* 00002858 */
0000281E 558F subq.l A7, 2
00002820 2F2E FFDC move.l -[A7], [A6 - 0x24]
00002824 486D AF9A pea.l [A5 - 0x5066]
00002828 A92C syscall FindWindow
0000282A 3C1F move.w D6, [A7]+
0000282C 0C46 0003 cmpi.w D6, 0x3
00002830 6708 beq +0xA /* 0000283A */
00002832 0C46 0005 cmpi.w D6, 0x5
00002836 6600 0120 bne +0x122 /* 00002958 */
label0000283A:
0000283A 202D AF9A move.l D0, [A5 - 0x5066]
0000283E B0AD AFCA cmp.l D0, [A5 - 0x5036]
00002842 6714 beq +0x16 /* 00002858 */
00002844 4AAE 0008 tst.l [A6 + 0x8]
00002848 6700 010E beq +0x110 /* 00002958 */
0000284C 202D AF9A move.l D0, [A5 - 0x5066]
00002850 B0AD B9FC cmp.l D0, [A5 - 0x4604]
00002854 6600 0102 bne +0x104 /* 00002958 */
label00002858:
00002858 2F2D AF9A move.l -[A7], [A5 - 0x5066]
0000285C 4EAD 076A jsr [A5 + 0x76A /* export_233 */]
00002860 486E FFDC pea.l [A6 - 0x24]
00002864 A871 syscall GlobalToLocal
00002866 4A6D AF9E tst.w [A5 - 0x5062]
0000286A 588F addq.l A7, 4
0000286C 661C bne +0x1E /* 0000288A */
0000286E 4A6D E69A tst.w [A5 - 0x1966]
00002872 6716 beq +0x18 /* 0000288A */
00002874 558F subq.l A7, 2
00002876 303C 0003 move.w D0, 0x3
0000287A A830 syscall Pack14
0000287C 4A1F tst.b [A7]+
0000287E 670A beq +0xC /* 0000288A */
00002880 2F2E FFDC move.l -[A7], [A6 - 0x24]
00002884 4EBA 0BD4 jsr [PC + 0xBD4 /* 0000345A */]
00002888 588F addq.l A7, 4
label0000288A:
0000288A 206D AF9A movea.l A0, [A5 - 0x5066]
0000288E 302E FFDE move.w D0, [A6 - 0x22]
00002892 B068 0172 cmp.w D0, [A0 + 0x172]
00002896 6C00 00D4 bge +0xD6 /* 0000296C */
0000289A 206D AF9A movea.l A0, [A5 - 0x5066]
0000289E 302E FFDC move.w D0, [A6 - 0x24]
000028A2 B068 0174 cmp.w D0, [A0 + 0x174]
000028A6 6C00 00C4 bge +0xC6 /* 0000296C */
000028AA 302D EA54 move.w D0, [A5 - 0x15AC]
000028AE B06E FFDE cmp.w D0, [A6 - 0x22]
000028B2 661C bne +0x1E /* 000028D0 */
000028B4 302D EA52 move.w D0, [A5 - 0x15AE]
000028B8 B06E FFDC cmp.w D0, [A6 - 0x24]
000028BC 6612 bne +0x14 /* 000028D0 */
000028BE 7000 moveq.l D0, 0x00
000028C0 302E FFFC move.w D0, [A6 - 0x4]
000028C4 322E FFE0 move.w D1, [A6 - 0x20]
000028C8 48C1 ext.l D1
000028CA B280 cmp.l D1, D0
000028CC 6700 FB48 beq -0x4B6 /* 00002416 */
label000028D0:
000028D0 206D AF9A movea.l A0, [A5 - 0x5066]
000028D4 2668 0124 movea.l A3, [A0 + 0x124]
000028D8 200B move.l D0, A3
000028DA 6700 FB3A beq -0x4C4 /* 00002416 */
000028DE 3B6E FFDE EA54 move.w [A5 - 0x15AC], [A6 - 0x22]
000028E4 3B6E FFDC EA52 move.w [A5 - 0x15AE], [A6 - 0x24]
000028EA 3E2D AF9E move.w D7, [A5 - 0x5062]
000028EE 303C 0100 move.w D0, 0x100
000028F2 C06E FFE0 and.w D0, [A6 - 0x20]
000028F6 6704 beq +0x6 /* 000028FC */
000028F8 0047 0001 ori.w D7, 0x1
label000028FC:
000028FC 303C 0200 move.w D0, 0x200
00002900 C06E FFE0 and.w D0, [A6 - 0x20]
00002904 6704 beq +0x6 /* 0000290A */
00002906 0047 0002 ori.w D7, 0x2
label0000290A:
0000290A 303C 0800 move.w D0, 0x800
0000290E C06E FFE0 and.w D0, [A6 - 0x20]
00002912 6704 beq +0x6 /* 00002918 */
00002914 0047 0080 ori.w D7, 0x80
label00002918:
00002918 4AAE 0008 tst.l [A6 + 0x8]
0000291C 670E beq +0x10 /* 0000292C */
0000291E 202D AF9A move.l D0, [A5 - 0x5066]
00002922 B0AD B9FC cmp.l D0, [A5 - 0x4604]
00002926 6604 bne +0x6 /* 0000292C */
00002928 0047 0100 ori.w D7, 0x100
label0000292C:
0000292C 2F0B move.l -[A7], A3
0000292E 4EBA 1F78 jsr [PC + 0x1F78 /* 000048A8 */]
00002932 4A40 tst.w D0
00002934 588F addq.l A7, 4
00002936 6700 FADE beq -0x520 /* 00002416 */
0000293A 7000 moveq.l D0, 0x00
0000293C 3007 move.w D0, D7
0000293E 2F00 move.l -[A7], D0
00002940 2F2D EA52 move.l -[A7], [A5 - 0x15AE]
00002944 2F2D AF9A move.l -[A7], [A5 - 0x5066]
00002948 4E93 jsr [A3]
0000294A 2F0B move.l -[A7], A3
0000294C 4EBA 1F0E jsr [PC + 0x1F0E /* 0000485C */]
00002950 4FEF 0010 lea.l A7, [A7 + 0x10]
00002954 6000 FAC0 bra -0x53E /* 00002416 */
label00002958:
00002958 0C46 0002 cmpi.w D6, 0x2
0000295C 660E bne +0x10 /* 0000296C */
0000295E 598F subq.l A7, 4
00002960 A924 syscall FrontWindow
00002962 202D AF9A move.l D0, [A5 - 0x5066]
00002966 B09F cmp.l D0, [A7]+
00002968 6700 FAAC beq -0x552 /* 00002416 */
label0000296C:
0000296C 4A6D AF9E tst.w [A5 - 0x5062]
00002970 6600 FAA4 bne -0x55A /* 00002416 */
00002974 7000 moveq.l D0, 0x00
00002976 2F00 move.l -[A7], D0
00002978 4EAD 09E2 jsr [A5 + 0x9E2 /* export_312 */]
0000297C 588F addq.l A7, 4
0000297E 6000 FA96 bra -0x568 /* 00002416 */
label00002982:
00002982 4AAE 000C tst.l [A6 + 0xC]
00002986 6610 bne +0x12 /* 00002998 */
00002988 4A6D E5CC tst.w [A5 - 0x1A34]
0000298C 670A beq +0xC /* 00002998 */
0000298E 7000 moveq.l D0, 0x00
00002990 2D40 0010 move.l [A6 + 0x10], D0
00002994 6000 FA80 bra -0x57E /* 00002416 */
label00002998:
00002998 202E FFD8 move.l D0, [A6 - 0x28]
0000299C 720A moveq.l D1, 0x0A
0000299E D081 add.l D0, D1
000029A0 2D40 FFF6 move.l [A6 - 0xA], D0
000029A4 558F subq.l A7, 2
000029A6 2F2E FFDC move.l -[A7], [A6 - 0x24]
000029AA 486D AF9A pea.l [A5 - 0x5066]
000029AE A92C syscall FindWindow
000029B0 3C1F move.w D6, [A7]+
000029B2 4245 clr.w D5
000029B4 206D B352 movea.l A0, [A5 - 0x4CAE]
000029B8 2050 movea.l A0, [A0]
000029BA 4AA8 0002 tst.l [A0 + 0x2]
000029BE 6752 beq +0x54 /* 00002A12 */
000029C0 4AAD AF9A tst.l [A5 - 0x5066]
000029C4 674C beq +0x4E /* 00002A12 */
000029C6 206D B352 movea.l A0, [A5 - 0x4CAE]
000029CA 2050 movea.l A0, [A0]
000029CC 202D AF9A move.l D0, [A5 - 0x5066]
000029D0 B0A8 0002 cmp.l D0, [A0 + 0x2]
000029D4 6712 beq +0x14 /* 000029E8 */
000029D6 206D AF9A movea.l A0, [A5 - 0x5066]
000029DA 3028 006C move.w D0, [A0 + 0x6C]
000029DE 48C0 ext.l D0
000029E0 0C80 0000 6590 cmpi.l D0, 0x6590
000029E6 662A bne +0x2C /* 00002A12 */
label000029E8:
000029E8 486D 270A pea.l [A5 + 0x270A /* export_1245 */]
000029EC 4EBA 1EBA jsr [PC + 0x1EBA /* 000048A8 */]
000029F0 4A40 tst.w D0
000029F2 588F addq.l A7, 4
000029F4 6700 FA20 beq -0x5DE /* 00002416 */
000029F8 2F2D B352 move.l -[A7], [A5 - 0x4CAE]
000029FC 486E FFD2 pea.l [A6 - 0x2E]
00002A00 4EAD 270A jsr [A5 + 0x270A /* export_1245 */]
00002A04 486D 270A pea.l [A5 + 0x270A /* export_1245 */]
00002A08 4EBA 1E52 jsr [PC + 0x1E52 /* 0000485C */]
00002A0C 588F addq.l A7, 4
00002A0E 6000 FA06 bra -0x5F8 /* 00002416 */
label00002A12:
00002A12 4AAE 0008 tst.l [A6 + 0x8]
00002A16 6754 beq +0x56 /* 00002A6C */
00002A18 202D AF9A move.l D0, [A5 - 0x5066]
00002A1C B0AE 0008 cmp.l D0, [A6 + 0x8]
00002A20 674A beq +0x4C /* 00002A6C */
00002A22 4EBA 20CA jsr [PC + 0x20CA /* 00004AEE */]
00002A26 4A40 tst.w D0
00002A28 663A bne +0x3C /* 00002A64 */
00002A2A 202D AF9A move.l D0, [A5 - 0x5066]
00002A2E B0AD B9FC cmp.l D0, [A5 - 0x4604]
00002A32 6630 bne +0x32 /* 00002A64 */
00002A34 0C46 0003 cmpi.w D6, 0x3
00002A38 662A bne +0x2C /* 00002A64 */
00002A3A 4AAD FC5A tst.l [A5 - 0x3A6]
00002A3E 6724 beq +0x26 /* 00002A64 */
00002A40 206D FC5A movea.l A0, [A5 - 0x3A6]
00002A44 2050 movea.l A0, [A0]
00002A46 4AA8 01AA tst.l [A0 + 0x1AA]
00002A4A 6718 beq +0x1A /* 00002A64 */
00002A4C 206D FC5A movea.l A0, [A5 - 0x3A6]
00002A50 2050 movea.l A0, [A0]
00002A52 2068 01AA movea.l A0, [A0 + 0x1AA]
00002A56 303C 0800 move.w D0, 0x800
00002A5A C068 0072 and.w D0, [A0 + 0x72]
00002A5E 6704 beq +0x6 /* 00002A64 */
00002A60 7A01 moveq.l D5, 0x01
00002A62 6008 bra +0xA /* 00002A6C */
label00002A64:
00002A64 4EBA F904 jsr [PC - 0x6FC /* 0000236A */]
00002A68 6000 F9AC bra -0x652 /* 00002416 */
label00002A6C:
00002A6C 202D AF9A move.l D0, [A5 - 0x5066]
00002A70 B0AD AFCA cmp.l D0, [A5 - 0x5036]
00002A74 673C beq +0x3E /* 00002AB2 */
00002A76 0C46 0003 cmpi.w D6, 0x3
00002A7A 6706 beq +0x8 /* 00002A82 */
00002A7C 0C46 0004 cmpi.w D6, 0x4
00002A80 6630 bne +0x32 /* 00002AB2 */
label00002A82:
00002A82 4A45 tst.w D5
00002A84 662C bne +0x2E /* 00002AB2 */
00002A86 7007 moveq.l D0, 0x07
00002A88 B06D F976 cmp.w D0, [A5 - 0x68A]
00002A8C 660E bne +0x10 /* 00002A9C */
00002A8E 4EAD 2C72 jsr [A5 + 0x2C72 /* export_1418 */]
00002A92 4EAD 2C92 jsr [A5 + 0x2C92 /* export_1422 */]
00002A96 3B7C 0001 F976 move.w [A5 - 0x68A], 0x1
label00002A9C:
00002A9C 206D AF9A movea.l A0, [A5 - 0x5066]
00002AA0 2F28 0160 move.l -[A7], [A0 + 0x160]
00002AA4 4EAD 1002 jsr [A5 + 0x1002 /* export_508 */]
00002AA8 0C46 0003 cmpi.w D6, 0x3
00002AAC 588F addq.l A7, 4
00002AAE 6700 F966 beq -0x698 /* 00002416 */
label00002AB2:
00002AB2 7007 moveq.l D0, 0x07
00002AB4 B06D F976 cmp.w D0, [A5 - 0x68A]
00002AB8 660E bne +0x10 /* 00002AC8 */
00002ABA 0C46 0003 cmpi.w D6, 0x3
00002ABE 6708 beq +0xA /* 00002AC8 */
00002AC0 4EBA F8A8 jsr [PC - 0x758 /* 0000236A */]
00002AC4 6000 F950 bra -0x6AE /* 00002416 */
label00002AC8:
00002AC8 3006 move.w D0, D6
00002ACA 5340 subq.w D0, 1
00002ACC 6B00 F948 bmi -0x6B6 /* 00002416 */
00002AD0 0C40 0007 cmpi.w D0, 0x7
00002AD4 6E00 F940 bgt -0x6BE /* 00002416 */
00002AD8 D040 add.w D0, D0
00002ADA 303B 0006 move.w D0, [PC + D0.w + 0x6]
00002ADE 4EFB 0000 jmp [PC + D0.w]
00002AE2 0012 0082 ori.b [A2], 0x82
00002AE6 0216 0090 andi.b [A6], 0x90
00002AEA 0128 01E4 btst [A0 + 0x1E4], D0
00002AEE 04AA 04AA 4AAD AFCA subi.l [A2 - 0x5036], 0x4AA4AAD
00002AF6 670C beq +0xE /* 00002B04 */
00002AF8 206D AFCA movea.l A0, [A5 - 0x5036]
00002AFC 2668 013C movea.l A3, [A0 + 0x13C]
00002B00 200B move.l D0, A3
00002B02 6604 bne +0x6 /* 00002B08 */
label00002B04:
00002B04 47ED 25B2 lea.l A3, [A5 + 0x25B2 /* export_1202 */]
label00002B08:
00002B08 2F2D AFCA move.l -[A7], [A5 - 0x5036]
00002B0C 2F0B move.l -[A7], A3
00002B0E 4EBA 1E42 jsr [PC + 0x1E42 /* 00004952 */]
00002B12 598F subq.l A7, 4
00002B14 A924 syscall FrontWindow
00002B16 201F move.l D0, [A7]+
00002B18 B0AD E9E2 cmp.l D0, [A5 - 0x161E]
00002B1C 508F addq.l A7, 8
00002B1E 6722 beq +0x24 /* 00002B42 */
00002B20 4EBA 1FCC jsr [PC + 0x1FCC /* 00004AEE */]
00002B24 4A40 tst.w D0
00002B26 6710 beq +0x12 /* 00002B38 */
00002B28 2F2D AFA4 move.l -[A7], [A5 - 0x505C]
00002B2C 486D 25A2 pea.l [A5 + 0x25A2 /* export_1200 */]
00002B30 4EBA 1E20 jsr [PC + 0x1E20 /* 00004952 */]
00002B34 508F addq.l A7, 8
00002B36 600A bra +0xC /* 00002B42 */
label00002B38:
00002B38 486D 25AA pea.l [A5 + 0x25AA /* export_1201 */]
00002B3C 4EBA 1DEC jsr [PC + 0x1DEC /* 0000492A */]
00002B40 588F addq.l A7, 4
label00002B42:
00002B42 7000 moveq.l D0, 0x00
00002B44 2F00 move.l -[A7], D0
00002B46 4EAD 09E2 jsr [A5 + 0x9E2 /* export_312 */]
00002B4A 7000 moveq.l D0, 0x00
00002B4C 2F00 move.l -[A7], D0
00002B4E 598F subq.l A7, 4
00002B50 2F2E FFDC move.l -[A7], [A6 - 0x24]
00002B54 A93D syscall MenuSelect
00002B56 4EBA 180A jsr [PC + 0x180A /* 00004362 */]
00002B5A 4FEF 000C lea.l A7, [A7 + 0xC]
00002B5E 6000 F8B6 bra -0x748 /* 00002416 */
00002B62 486E FFD2 pea.l [A6 - 0x2E]
00002B66 2F2D AF9A move.l -[A7], [A5 - 0x5066]
00002B6A A9B3 syscall SystemClick
00002B6C 6000 F8A8 bra -0x756 /* 00002416 */
00002B70 2F2D AF9A move.l -[A7], [A5 - 0x5066]
00002B74 2F2E FFDC move.l -[A7], [A6 - 0x24]
00002B78 486D AF8E pea.l [A5 - 0x5072]
00002B7C A925 syscall DragWindow
00002B7E 426E FFE6 clr.w [A6 - 0x1A]
00002B82 426E FFE8 clr.w [A6 - 0x18]
00002B86 2F2D AF9A move.l -[A7], [A5 - 0x5066]
00002B8A 4EAD 076A jsr [A5 + 0x76A /* export_233 */]
00002B8E 486E FFE6 pea.l [A6 - 0x1A]
00002B92 A870 syscall LocalToGlobal
00002B94 206D AF9A movea.l A0, [A5 - 0x5066]
00002B98 4A68 0188 tst.w [A0 + 0x188]
00002B9C 588F addq.l A7, 4
00002B9E 670C beq +0xE /* 00002BAC */
00002BA0 206D E9DE movea.l A0, [A5 - 0x1622]
00002BA4 7004 moveq.l D0, 0x04
00002BA6 B068 0188 cmp.w D0, [A0 + 0x188]
00002BAA 6610 bne +0x12 /* 00002BBC */
label00002BAC:
00002BAC 302D B2A4 move.w D0, [A5 - 0x4D5C]
00002BB0 916E FFE8 sub.w [A6 - 0x18], D0
00002BB4 302D B2A2 move.w D0, [A5 - 0x4D5E]
00002BB8 916E FFE6 sub.w [A6 - 0x1A], D0
label00002BBC:
00002BBC 302E FFE8 move.w D0, [A6 - 0x18]
00002BC0 906D AFB4 sub.w D0, [A5 - 0x504C]
00002BC4 3D40 FFF4 move.w [A6 - 0xC], D0
00002BC8 302E FFE6 move.w D0, [A6 - 0x1A]
00002BCC 906D AFB2 sub.w D0, [A5 - 0x504E]
00002BD0 3D40 FFF2 move.w [A6 - 0xE], D0
00002BD4 206D AF9A movea.l A0, [A5 - 0x5066]
00002BD8 2668 0114 movea.l A3, [A0 + 0x114]
00002BDC 200B move.l D0, A3
00002BDE 6700 F836 beq -0x7C8 /* 00002416 */
00002BE2 2F0B move.l -[A7], A3
00002BE4 4EBA 1CC2 jsr [PC + 0x1CC2 /* 000048A8 */]
00002BE8 4A40 tst.w D0
00002BEA 588F addq.l A7, 4
00002BEC 6700 F828 beq -0x7D6 /* 00002416 */
00002BF0 2F2E FFF2 move.l -[A7], [A6 - 0xE]
00002BF4 2F2D AF9A move.l -[A7], [A5 - 0x5066]
00002BF8 4E93 jsr [A3]
00002BFA 2F0B move.l -[A7], A3
00002BFC 4EBA 1C5E jsr [PC + 0x1C5E /* 0000485C */]
00002C00 4FEF 000C lea.l A7, [A7 + 0xC]
00002C04 6000 F810 bra -0x7EE /* 00002416 */
00002C08 3D7C 0040 FFEA move.w [A6 - 0x16], 0x40 /* '@' */
00002C0E 206D AF9A movea.l A0, [A5 - 0x5066]
00002C12 4A68 018A tst.w [A0 + 0x18A]
00002C16 660C bne +0xE /* 00002C24 */
00002C18 302D BD92 move.w D0, [A5 - 0x426E]
00002C1C D07C 002E add.w D0, 0x2E /* '.' */
00002C20 48C0 ext.l D0
00002C22 6002 bra +0x4 /* 00002C26 */
label00002C24:
00002C24 702E moveq.l D0, 0x2E
label00002C26:
00002C26 7212 moveq.l D1, 0x12
00002C28 D081 add.l D0, D1
00002C2A 3D40 FFEC move.w [A6 - 0x14], D0
00002C2E 3D7C 0602 FFF0 move.w [A6 - 0x10], 0x602
00002C34 3D7C 0602 FFEE move.w [A6 - 0x12], 0x602
00002C3A 598F subq.l A7, 4
00002C3C 2F2D AF9A move.l -[A7], [A5 - 0x5066]
00002C40 2F2E FFDC move.l -[A7], [A6 - 0x24]
00002C44 486E FFEA pea.l [A6 - 0x16]
00002C48 A92B syscall GrowWindow
00002C4A 281F move.l D4, [A7]+
00002C4C 6700 F7C8 beq -0x836 /* 00002416 */
00002C50 7010 moveq.l D0, 0x10
00002C52 2204 move.l D1, D4
00002C54 E0A1 asr D1, D0
00002C56 203C 0000 7FFF move.l D0, 0x7FFF
00002C5C C081 and.l D0, D1
00002C5E 322D B2A2 move.w D1, [A5 - 0x4D5E]
00002C62 48C1 ext.l D1
00002C64 D280 add.l D1, D0
00002C66 302D B2A6 move.w D0, [A5 - 0x4D5A]
00002C6A 48C0 ext.l D0
00002C6C D081 add.l D0, D1
00002C6E 3D40 FFF2 move.w [A6 - 0xE], D0
00002C72 203C 0000 7FFF move.l D0, 0x7FFF
00002C78 C084 and.l D0, D4
00002C7A 322D B2A4 move.w D1, [A5 - 0x4D5C]
00002C7E 48C1 ext.l D1
00002C80 D280 add.l D1, D0
00002C82 302D B2A8 move.w D0, [A5 - 0x4D58]
00002C86 48C0 ext.l D0
00002C88 D081 add.l D0, D1
00002C8A 3D40 FFF4 move.w [A6 - 0xC], D0
00002C8E 206D AF9A movea.l A0, [A5 - 0x5066]
00002C92 2668 0110 movea.l A3, [A0 + 0x110]
00002C96 200B move.l D0, A3
00002C98 6604 bne +0x6 /* 00002C9E */
00002C9A 47ED 0A2A lea.l A3, [A5 + 0xA2A /* export_321 */]
label00002C9E:
00002C9E 2F0B move.l -[A7], A3
00002CA0 4EBA 1C06 jsr [PC + 0x1C06 /* 000048A8 */]
00002CA4 4A40 tst.w D0
00002CA6 588F addq.l A7, 4
00002CA8 6700 F76C beq -0x892 /* 00002416 */
00002CAC 2F2E FFF2 move.l -[A7], [A6 - 0xE]
00002CB0 2F2D AF9A move.l -[A7], [A5 - 0x5066]
00002CB4 4E93 jsr [A3]
00002CB6 2F0B move.l -[A7], A3
00002CB8 4EBA 1BA2 jsr [PC + 0x1BA2 /* 0000485C */]
00002CBC 4FEF 000C lea.l A7, [A7 + 0xC]
00002CC0 6000 F754 bra -0x8AA /* 00002416 */
00002CC4 558F subq.l A7, 2
00002CC6 2F2D AF9A move.l -[A7], [A5 - 0x5066]
00002CCA 2F2E FFDC move.l -[A7], [A6 - 0x24]
00002CCE A91E syscall TrackGoAway
00002CD0 4A1F tst.b [A7]+
00002CD2 6700 F742 beq -0x8BC /* 00002416 */
00002CD6 206D AF9A movea.l A0, [A5 - 0x5066]
00002CDA 2668 011C movea.l A3, [A0 + 0x11C]
00002CDE 200B move.l D0, A3
00002CE0 6604 bne +0x6 /* 00002CE6 */
00002CE2 47ED 0A5A lea.l A3, [A5 + 0xA5A /* export_327 */]
label00002CE6:
00002CE6 2F2D AF9A move.l -[A7], [A5 - 0x5066]
00002CEA 2F0B move.l -[A7], A3
00002CEC 4EBA 1C64 jsr [PC + 0x1C64 /* 00004952 */]
00002CF0 508F addq.l A7, 8
00002CF2 6000 F722 bra -0x8DC /* 00002416 */
00002CF6 2F2D AF9A move.l -[A7], [A5 - 0x5066]
00002CFA 4EAD 076A jsr [A5 + 0x76A /* export_233 */]
00002CFE 486E FFDC pea.l [A6 - 0x24]
00002D02 A871 syscall GlobalToLocal
00002D04 3B6E FFDE EA54 move.w [A5 - 0x15AC], [A6 - 0x22]
00002D0A 3B6E FFDC EA52 move.w [A5 - 0x15AE], [A6 - 0x24]
00002D10 7007 moveq.l D0, 0x07
00002D12 B06D F976 cmp.w D0, [A5 - 0x68A]
00002D16 588F addq.l A7, 4
00002D18 6700 015A beq +0x15C /* 00002E74 */
00002D1C 558F subq.l A7, 2
00002D1E 2F2E FFDC move.l -[A7], [A6 - 0x24]
00002D22 2F2D AF9A move.l -[A7], [A5 - 0x5066]
00002D26 486E FFE2 pea.l [A6 - 0x1E]
00002D2A A96C syscall FindControl
00002D2C 3C1F move.w D6, [A7]+
00002D2E 6700 0118 beq +0x11A /* 00002E48 */
00002D32 206E FFE2 movea.l A0, [A6 - 0x1E]
00002D36 2050 movea.l A0, [A0]
00002D38 0CA8 0000 0080 0024 cmpi.l [A0 + 0x24], 0x80
00002D40 57C0 seq D0
00002D42 0240 0001 andi.w D0, 0x1
00002D46 3B40 AF98 move.w [A5 - 0x5068], D0
00002D4A 206D AF9A movea.l A0, [A5 - 0x5066]
00002D4E 4868 0010 pea.l [A0 + 0x10]
00002D52 A87B syscall ClipRect
00002D54 0C46 0081 cmpi.w D6, 0x81
00002D58 6600 00CE bne +0xD0 /* 00002E28 */
00002D5C 4A6D AF98 tst.w [A5 - 0x5068]
00002D60 670C beq +0xE /* 00002D6E */
00002D62 206D AF9A movea.l A0, [A5 - 0x5066]
00002D66 3028 0180 move.w D0, [A0 + 0x180]
00002D6A 48C0 ext.l D0
00002D6C 600A bra +0xC /* 00002D78 */
label00002D6E:
00002D6E 206D AF9A movea.l A0, [A5 - 0x5066]
00002D72 3028 0184 move.w D0, [A0 + 0x184]
00002D76 48C0 ext.l D0
label00002D78:
00002D78 6F00 00C0 ble +0xC2 /* 00002E3A */
00002D7C 3B7C FFFF AF96 move.w [A5 - 0x506A], 0xFFFF
00002D82 486D AF7C pea.l [A5 - 0x5084]
00002D86 A898 syscall GetPenState
00002D88 558F subq.l A7, 2
00002D8A 2F2E FFE2 move.l -[A7], [A6 - 0x1E]
00002D8E 2F2E FFDC move.l -[A7], [A6 - 0x24]
00002D92 486D 01C2 pea.l [A5 + 0x1C2 /* export_52 */]
00002D96 A968 syscall TrackControl
00002D98 3C1F move.w D6, [A7]+
00002D9A 486D AF7C pea.l [A5 - 0x5084]
00002D9E A899 syscall SetPenState
00002DA0 206D AF9A movea.l A0, [A5 - 0x5066]
00002DA4 4868 00B6 pea.l [A0 + 0xB6]
00002DA8 A87B syscall ClipRect
00002DAA 206D AF9A movea.l A0, [A5 - 0x5066]
00002DAE 2668 0120 movea.l A3, [A0 + 0x120]
00002DB2 200B move.l D0, A3
00002DB4 6700 0084 beq +0x86 /* 00002E3A */
00002DB8 2F0B move.l -[A7], A3
00002DBA 4EBA 1AEC jsr [PC + 0x1AEC /* 000048A8 */]
00002DBE 4A40 tst.w D0
00002DC0 588F addq.l A7, 4
00002DC2 6776 beq +0x78 /* 00002E3A */
00002DC4 4A46 tst.w D6
00002DC6 673C beq +0x3E /* 00002E04 */
00002DC8 558F subq.l A7, 2
00002DCA 2F2E FFE2 move.l -[A7], [A6 - 0x1E]
00002DCE A960 syscall GetControlValue/GetCtlValue
00002DD0 301F move.w D0, [A7]+
00002DD2 48C0 ext.l D0
00002DD4 2F00 move.l -[A7], D0
00002DD6 7000 moveq.l D0, 0x00
00002DD8 2F00 move.l -[A7], D0
00002DDA 322D AF98 move.w D1, [A5 - 0x5068]
00002DDE 48C1 ext.l D1
00002DE0 2F01 move.l -[A7], D1
00002DE2 2F2D AF9A move.l -[A7], [A5 - 0x5066]
00002DE6 4E93 jsr [A3]
00002DE8 7000 moveq.l D0, 0x00
00002DEA 2F00 move.l -[A7], D0
00002DEC 7201 moveq.l D1, 0x01
00002DEE 2F01 move.l -[A7], D1
00002DF0 342D AF98 move.w D2, [A5 - 0x5068]
00002DF4 48C2 ext.l D2
00002DF6 2F02 move.l -[A7], D2
00002DF8 2F2D AF9A move.l -[A7], [A5 - 0x5066]
00002DFC 4E93 jsr [A3]
00002DFE 4FEF 0020 lea.l A7, [A7 + 0x20]
00002E02 601A bra +0x1C /* 00002E1E */
label00002E04:
00002E04 7000 moveq.l D0, 0x00
00002E06 2F00 move.l -[A7], D0
00002E08 7202 moveq.l D1, 0x02
00002E0A 2F01 move.l -[A7], D1
00002E0C 342D AF98 move.w D2, [A5 - 0x5068]
00002E10 48C2 ext.l D2
00002E12 2F02 move.l -[A7], D2
00002E14 2F2D AF9A move.l -[A7], [A5 - 0x5066]
00002E18 4E93 jsr [A3]
00002E1A 4FEF 0010 lea.l A7, [A7 + 0x10]
label00002E1E:
00002E1E 2F0B move.l -[A7], A3
00002E20 4EBA 1A3A jsr [PC + 0x1A3A /* 0000485C */]
00002E24 588F addq.l A7, 4
00002E26 6012 bra +0x14 /* 00002E3A */
label00002E28:
00002E28 558F subq.l A7, 2
00002E2A 2F2E FFE2 move.l -[A7], [A6 - 0x1E]
00002E2E 2F2E FFDC move.l -[A7], [A6 - 0x24]
00002E32 486D 01CA pea.l [A5 + 0x1CA /* export_53 */]
00002E36 A968 syscall TrackControl
00002E38 548F addq.l A7, 2
label00002E3A:
00002E3A 206D AF9A movea.l A0, [A5 - 0x5066]
00002E3E 4868 00B6 pea.l [A0 + 0xB6]
00002E42 A87B syscall ClipRect
00002E44 6000 F5D0 bra -0xA2E /* 00002416 */
label00002E48:
00002E48 206D AF9A movea.l A0, [A5 - 0x5066]
00002E4C 302D EA54 move.w D0, [A5 - 0x15AC]
00002E50 B068 0172 cmp.w D0, [A0 + 0x172]
00002E54 6C12 bge +0x14 /* 00002E68 */
00002E56 206D AF9A movea.l A0, [A5 - 0x5066]
00002E5A 3028 0174 move.w D0, [A0 + 0x174]
00002E5E D07C 0010 add.w D0, 0x10
00002E62 B06D EA52 cmp.w D0, [A5 - 0x15AE]
00002E66 6E0C bgt +0xE /* 00002E74 */
label00002E68:
00002E68 558F subq.l A7, 2
00002E6A A977 syscall WaitMouseUp
00002E6C 4A1F tst.b [A7]+
00002E6E 66F8 bne -0x6 /* 00002E68 */
00002E70 6000 F5A4 bra -0xA5A /* 00002416 */
label00002E74:
00002E74 3B7C 0040 AF9E move.w [A5 - 0x5062], 0x40 /* '@' */
00002E7A 7E40 moveq.l D7, 0x40
00002E7C 2B6D EA52 AF6C move.l [A5 - 0x5094], [A5 - 0x15AE]
00002E82 202E FFD8 move.l D0, [A6 - 0x28]
00002E86 90AD AF74 sub.l D0, [A5 - 0x508C]
00002E8A 2F00 move.l -[A7], D0
00002E8C 598F subq.l A7, 4
00002E8E 2EB8 02F0 move.l [A7], [0x000002F0 /* DoubleTime */]
00002E92 221F move.l D1, [A7]+
00002E94 201F move.l D0, [A7]+
00002E96 B280 cmp.l D1, D0
00002E98 656C bcs +0x6E /* 00002F06 */
00002E9A 302D AF72 move.w D0, [A5 - 0x508E]
00002E9E 906D EA54 sub.w D0, [A5 - 0x15AC]
00002EA2 6C0E bge +0x10 /* 00002EB2 */
00002EA4 302D AF72 move.w D0, [A5 - 0x508E]
00002EA8 906D EA54 sub.w D0, [A5 - 0x15AC]
00002EAC 4440 neg.w D0
00002EAE 48C0 ext.l D0
00002EB0 600A bra +0xC /* 00002EBC */
label00002EB2:
00002EB2 302D AF72 move.w D0, [A5 - 0x508E]
00002EB6 906D EA54 sub.w D0, [A5 - 0x15AC]
00002EBA 48C0 ext.l D0
label00002EBC:
00002EBC 322D AF70 move.w D1, [A5 - 0x5090]
00002EC0 926D EA52 sub.w D1, [A5 - 0x15AE]
00002EC4 6C0E bge +0x10 /* 00002ED4 */
00002EC6 322D AF70 move.w D1, [A5 - 0x5090]
00002ECA 926D EA52 sub.w D1, [A5 - 0x15AE]
00002ECE 4441 neg.w D1
00002ED0 48C1 ext.l D1
00002ED2 600A bra +0xC /* 00002EDE */
label00002ED4:
00002ED4 322D AF70 move.w D1, [A5 - 0x5090]
00002ED8 926D EA52 sub.w D1, [A5 - 0x15AE]
00002EDC 48C1 ext.l D1
label00002EDE:
00002EDE D280 add.l D1, D0
00002EE0 7005 moveq.l D0, 0x05
00002EE2 B081 cmp.l D0, D1
00002EE4 6D20 blt +0x22 /* 00002F06 */
00002EE6 302D AF68 move.w D0, [A5 - 0x5098]
00002EEA B06E FFE0 cmp.w D0, [A6 - 0x20]
00002EEE 6616 bne +0x18 /* 00002F06 */
00002EF0 4A6D AF6A tst.w [A5 - 0x5096]
00002EF4 6704 beq +0x6 /* 00002EFA */
00002EF6 7008 moveq.l D0, 0x08
00002EF8 6002 bra +0x4 /* 00002EFC */
label00002EFA:
00002EFA 7004 moveq.l D0, 0x04
label00002EFC:
00002EFC 8E40 or.w D7, D0
00002EFE 3B7C 0001 AF6A move.w [A5 - 0x5096], 0x1
00002F04 6004 bra +0x6 /* 00002F0A */
label00002F06:
00002F06 426D AF6A clr.w [A5 - 0x5096]
label00002F0A:
00002F0A 2B6E FFD8 AF74 move.l [A5 - 0x508C], [A6 - 0x28]
00002F10 3B6E FFE0 AF68 move.w [A5 - 0x5098], [A6 - 0x20]
00002F16 303C 0100 move.w D0, 0x100
00002F1A C06E FFE0 and.w D0, [A6 - 0x20]
00002F1E 6704 beq +0x6 /* 00002F24 */
00002F20 0047 0001 ori.w D7, 0x1
label00002F24:
00002F24 303C 0200 move.w D0, 0x200
00002F28 C06E FFE0 and.w D0, [A6 - 0x20]
00002F2C 6704 beq +0x6 /* 00002F32 */
00002F2E 0047 0002 ori.w D7, 0x2
label00002F32:
00002F32 303C 0800 move.w D0, 0x800
00002F36 C06E FFE0 and.w D0, [A6 - 0x20]
00002F3A 6704 beq +0x6 /* 00002F40 */
00002F3C 0047 0080 ori.w D7, 0x80
label00002F40:
00002F40 4A45 tst.w D5
00002F42 6704 beq +0x6 /* 00002F48 */
00002F44 0047 0100 ori.w D7, 0x100
label00002F48:
00002F48 206D AF9A movea.l A0, [A5 - 0x5066]
00002F4C 2668 0128 movea.l A3, [A0 + 0x128]
00002F50 200B move.l D0, A3
00002F52 6700 F4C2 beq -0xB3C /* 00002416 */
00002F56 2F0B move.l -[A7], A3
00002F58 4EBA 194E jsr [PC + 0x194E /* 000048A8 */]
00002F5C 4A40 tst.w D0
00002F5E 588F addq.l A7, 4
00002F60 6700 F4B4 beq -0xB4A /* 00002416 */
00002F64 4EAD 09CA jsr [A5 + 0x9CA /* export_309 */]
00002F68 7000 moveq.l D0, 0x00
00002F6A 3007 move.w D0, D7
00002F6C 2F00 move.l -[A7], D0
00002F6E 2F2D EA52 move.l -[A7], [A5 - 0x15AE]
00002F72 2F2D AF9A move.l -[A7], [A5 - 0x5066]
00002F76 4E93 jsr [A3]
00002F78 4EAD 09DA jsr [A5 + 0x9DA /* export_311 */]
00002F7C 2F0B move.l -[A7], A3
00002F7E 4EBA 18DC jsr [PC + 0x18DC /* 0000485C */]
00002F82 4FEF 0010 lea.l A7, [A7 + 0x10]
00002F86 6000 F48E bra -0xB70 /* 00002416 */
00002F8A 558F subq.l A7, 2
00002F8C 2F2D AF9A move.l -[A7], [A5 - 0x5066]
00002F90 2F2E FFDC move.l -[A7], [A6 - 0x24]
00002F94 3F06 move.w -[A7], D6
00002F96 A83B syscall TrackBox
00002F98 4A1F tst.b [A7]+
00002F9A 6700 F47A beq -0xB84 /* 00002416 */
00002F9E 206D AF9A movea.l A0, [A5 - 0x5066]
00002FA2 2668 0118 movea.l A3, [A0 + 0x118]
00002FA6 200B move.l D0, A3
00002FA8 6604 bne +0x6 /* 00002FAE */
00002FAA 47ED 0A3A lea.l A3, [A5 + 0xA3A /* export_323 */]
label00002FAE:
00002FAE 2F0B move.l -[A7], A3
00002FB0 4EBA 18F6 jsr [PC + 0x18F6 /* 000048A8 */]
00002FB4 4A40 tst.w D0
00002FB6 588F addq.l A7, 4
00002FB8 6700 F45C beq -0xBA2 /* 00002416 */
00002FBC 0C46 0007 cmpi.w D6, 0x7
00002FC0 56C0 sne D0
00002FC2 0240 0001 andi.w D0, 0x1
00002FC6 48C0 ext.l D0
00002FC8 2F00 move.l -[A7], D0
00002FCA 2F2D AF9A move.l -[A7], [A5 - 0x5066]
00002FCE 4E93 jsr [A3]
00002FD0 2F0B move.l -[A7], A3
00002FD2 4EBA 1888 jsr [PC + 0x1888 /* 0000485C */]
00002FD6 4FEF 000C lea.l A7, [A7 + 0xC]
00002FDA 6000 F43A bra -0xBC4 /* 00002416 */
label00002FDE:
00002FDE 206D B352 movea.l A0, [A5 - 0x4CAE]
00002FE2 2050 movea.l A0, [A0]
00002FE4 4AA8 0002 tst.l [A0 + 0x2]
00002FE8 6752 beq +0x54 /* 0000303C */
00002FEA 4AAD AF9A tst.l [A5 - 0x5066]
00002FEE 674C beq +0x4E /* 0000303C */
00002FF0 206D B352 movea.l A0, [A5 - 0x4CAE]
00002FF4 2050 movea.l A0, [A0]
00002FF6 202D AF9A move.l D0, [A5 - 0x5066]
00002FFA B0A8 0002 cmp.l D0, [A0 + 0x2]
00002FFE 6712 beq +0x14 /* 00003012 */
00003000 206D AF9A movea.l A0, [A5 - 0x5066]
00003004 3028 006C move.w D0, [A0 + 0x6C]
00003008 48C0 ext.l D0
0000300A 0C80 0000 6590 cmpi.l D0, 0x6590
00003010 662A bne +0x2C /* 0000303C */
label00003012:
00003012 486D 270A pea.l [A5 + 0x270A /* export_1245 */]
00003016 4EBA 1890 jsr [PC + 0x1890 /* 000048A8 */]
0000301A 4A40 tst.w D0
0000301C 588F addq.l A7, 4
0000301E 6700 F3F6 beq -0xC08 /* 00002416 */
00003022 2F2D B352 move.l -[A7], [A5 - 0x4CAE]
00003026 486E FFD2 pea.l [A6 - 0x2E]
0000302A 4EAD 270A jsr [A5 + 0x270A /* export_1245 */]
0000302E 486D 270A pea.l [A5 + 0x270A /* export_1245 */]
00003032 4EBA 1828 jsr [PC + 0x1828 /* 0000485C */]
00003036 588F addq.l A7, 4
00003038 6000 F3DC bra -0xC22 /* 00002416 */
label0000303C:
0000303C 4A6D AF9E tst.w [A5 - 0x5062]
00003040 6700 F3D4 beq -0xC2A /* 00002416 */
00003044 4A6D AF6A tst.w [A5 - 0x5096]
00003048 6606 bne +0x8 /* 00003050 */
0000304A 2B6D EA52 AF70 move.l [A5 - 0x5090], [A5 - 0x15AE]
label00003050:
00003050 4247 clr.w D7
00003052 2B6E FFD8 AF78 move.l [A5 - 0x5088], [A6 - 0x28]
00003058 202E FFD8 move.l D0, [A6 - 0x28]
0000305C 90AD AF74 sub.l D0, [A5 - 0x508C]
00003060 720A moveq.l D1, 0x0A
00003062 B280 cmp.l D1, D0
00003064 6D4E blt +0x50 /* 000030B4 */
00003066 302D AF6E move.w D0, [A5 - 0x5092]
0000306A 906D EA54 sub.w D0, [A5 - 0x15AC]
0000306E 6C0E bge +0x10 /* 0000307E */
00003070 302D AF6E move.w D0, [A5 - 0x5092]
00003074 906D EA54 sub.w D0, [A5 - 0x15AC]
00003078 4440 neg.w D0
0000307A 48C0 ext.l D0
0000307C 600A bra +0xC /* 00003088 */
label0000307E:
0000307E 302D AF6E move.w D0, [A5 - 0x5092]
00003082 906D EA54 sub.w D0, [A5 - 0x15AC]
00003086 48C0 ext.l D0
label00003088:
00003088 322D AF6C move.w D1, [A5 - 0x5094]
0000308C 926D EA52 sub.w D1, [A5 - 0x15AE]
00003090 6C0E bge +0x10 /* 000030A0 */
00003092 322D AF6C move.w D1, [A5 - 0x5094]
00003096 926D EA52 sub.w D1, [A5 - 0x15AE]
0000309A 4441 neg.w D1
0000309C 48C1 ext.l D1
0000309E 600A bra +0xC /* 000030AA */
label000030A0:
000030A0 322D AF6C move.w D1, [A5 - 0x5094]
000030A4 926D EA52 sub.w D1, [A5 - 0x15AE]
000030A8 48C1 ext.l D1
label000030AA:
000030AA D280 add.l D1, D0
000030AC 7005 moveq.l D0, 0x05
000030AE B081 cmp.l D0, D1
000030B0 6D02 blt +0x4 /* 000030B4 */
000030B2 7E10 moveq.l D7, 0x10
label000030B4:
000030B4 303C 0100 move.w D0, 0x100
000030B8 C06E FFE0 and.w D0, [A6 - 0x20]
000030BC 6704 beq +0x6 /* 000030C2 */
000030BE 0047 0001 ori.w D7, 0x1
label000030C2:
000030C2 303C 0200 move.w D0, 0x200
000030C6 C06E FFE0 and.w D0, [A6 - 0x20]
000030CA 6704 beq +0x6 /* 000030D0 */
000030CC 0047 0002 ori.w D7, 0x2
label000030D0:
000030D0 303C 0800 move.w D0, 0x800
000030D4 C06E FFE0 and.w D0, [A6 - 0x20]
000030D8 6704 beq +0x6 /* 000030DE */
000030DA 0047 0080 ori.w D7, 0x80
label000030DE:
000030DE 4AAE 0008 tst.l [A6 + 0x8]
000030E2 670E beq +0x10 /* 000030F2 */
000030E4 202D AF9A move.l D0, [A5 - 0x5066]
000030E8 B0AD B9FC cmp.l D0, [A5 - 0x4604]
000030EC 6604 bne +0x6 /* 000030F2 */
000030EE 0047 0100 ori.w D7, 0x100
label000030F2:
000030F2 426D AF9E clr.w [A5 - 0x5062]
000030F6 7007 moveq.l D0, 0x07
000030F8 B06D F976 cmp.w D0, [A5 - 0x68A]
000030FC 663E bne +0x40 /* 0000313C */
000030FE 206D B9FC movea.l A0, [A5 - 0x4604]
00003102 2668 012C movea.l A3, [A0 + 0x12C]
00003106 200B move.l D0, A3
00003108 6732 beq +0x34 /* 0000313C */
0000310A 2F0B move.l -[A7], A3
0000310C 4EBA 179A jsr [PC + 0x179A /* 000048A8 */]
00003110 4A40 tst.w D0
00003112 588F addq.l A7, 4
00003114 6726 beq +0x28 /* 0000313C */
00003116 2F2D B9FC move.l -[A7], [A5 - 0x4604]
0000311A 4EAD 076A jsr [A5 + 0x76A /* export_233 */]
0000311E 7000 moveq.l D0, 0x00
00003120 3007 move.w D0, D7
00003122 2F00 move.l -[A7], D0
00003124 2F2D EA52 move.l -[A7], [A5 - 0x15AE]
00003128 2F2D B9FC move.l -[A7], [A5 - 0x4604]
0000312C 4E93 jsr [A3]
0000312E 2F0B move.l -[A7], A3
00003130 4EBA 172A jsr [PC + 0x172A /* 0000485C */]
00003134 4FEF 0014 lea.l A7, [A7 + 0x14]
00003138 6000 F2DC bra -0xD22 /* 00002416 */
label0000313C:
0000313C 206D AF9A movea.l A0, [A5 - 0x5066]
00003140 2668 012C movea.l A3, [A0 + 0x12C]
00003144 200B move.l D0, A3
00003146 6700 F2CE beq -0xD30 /* 00002416 */
0000314A 2F0B move.l -[A7], A3
0000314C 4EBA 175A jsr [PC + 0x175A /* 000048A8 */]
00003150 4A40 tst.w D0
00003152 588F addq.l A7, 4
00003154 6700 F2C0 beq -0xD3E /* 00002416 */
00003158 2F2D AF9A move.l -[A7], [A5 - 0x5066]
0000315C 4EAD 076A jsr [A5 + 0x76A /* export_233 */]
00003160 7000 moveq.l D0, 0x00
00003162 3007 move.w D0, D7
00003164 2F00 move.l -[A7], D0
00003166 2F2D EA52 move.l -[A7], [A5 - 0x15AE]
0000316A 2F2D AF9A move.l -[A7], [A5 - 0x5066]
0000316E 4E93 jsr [A3]
00003170 2F0B move.l -[A7], A3
00003172 4EBA 16E8 jsr [PC + 0x16E8 /* 0000485C */]
00003176 4FEF 0014 lea.l A7, [A7 + 0x14]
0000317A 6000 F29A bra -0xD64 /* 00002416 */
label0000317E:
0000317E 486E 0010 pea.l [A6 + 0x10]
00003182 2F2E 000C move.l -[A7], [A6 + 0xC]
00003186 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000318A 486E FFD2 pea.l [A6 - 0x2E]
0000318E 4EBA 09E4 jsr [PC + 0x9E4 /* 00003B74 */]
00003192 4FEF 0010 lea.l A7, [A7 + 0x10]
00003196 6000 F27E bra -0xD80 /* 00002416 */
label0000319A:
0000319A 286D E9E2 movea.l A4, [A5 - 0x161E]
0000319E 6004 bra +0x6 /* 000031A4 */
label000031A0:
000031A0 286C 0164 movea.l A4, [A4 + 0x164]
label000031A4:
000031A4 200C move.l D0, A4
000031A6 6706 beq +0x8 /* 000031AE */
000031A8 B9EE FFD4 cmpa.l A4, [A6 - 0x2C]
000031AC 66F2 bne -0xC /* 000031A0 */
label000031AE:
000031AE 200C move.l D0, A4
000031B0 6700 008A beq +0x8C /* 0000323C */
000031B4 526D AFA0 addq.w [A5 - 0x5060], 1
000031B8 206E FFD4 movea.l A0, [A6 - 0x2C]
000031BC 2668 0104 movea.l A3, [A0 + 0x104]
000031C0 200B move.l D0, A3
000031C2 6604 bne +0x6 /* 000031C8 */
000031C4 47ED 0A1A lea.l A3, [A5 + 0xA1A /* export_319 */]
label000031C8:
000031C8 200B move.l D0, A3
000031CA 676A beq +0x6C /* 00003236 */
000031CC 2F0B move.l -[A7], A3
000031CE 4EBA 16D8 jsr [PC + 0x16D8 /* 000048A8 */]
000031D2 4A40 tst.w D0
000031D4 588F addq.l A7, 4
000031D6 675E beq +0x60 /* 00003236 */
000031D8 7000 moveq.l D0, 0x00
000031DA 4AAE 0008 tst.l [A6 + 0x8]
000031DE 6638 bne +0x3A /* 00003218 */
000031E0 322E FFE0 move.w D1, [A6 - 0x20]
000031E4 48C1 ext.l D1
000031E6 7401 moveq.l D2, 0x01
000031E8 C481 and.l D2, D1
000031EA 6718 beq +0x1A /* 00003204 */
000031EC 206E FFD4 movea.l A0, [A6 - 0x2C]
000031F0 7200 moveq.l D1, 0x00
000031F2 3228 0168 move.w D1, [A0 + 0x168]
000031F6 7404 moveq.l D2, 0x04
000031F8 C481 and.l D2, D1
000031FA 57C1 seq D1
000031FC 0241 0001 andi.w D1, 0x1
00003200 48C1 ext.l D1
00003202 6010 bra +0x12 /* 00003214 */
label00003204:
00003204 206E FFD4 movea.l A0, [A6 - 0x2C]
00003208 7200 moveq.l D1, 0x00
0000320A 3228 0168 move.w D1, [A0 + 0x168]
0000320E 7404 moveq.l D2, 0x04
00003210 C481 and.l D2, D1
00003212 2202 move.l D1, D2
label00003214:
00003214 6702 beq +0x4 /* 00003218 */
00003216 7001 moveq.l D0, 0x01
label00003218:
00003218 2F00 move.l -[A7], D0
0000321A 302E FFE0 move.w D0, [A6 - 0x20]
0000321E 48C0 ext.l D0
00003220 7201 moveq.l D1, 0x01
00003222 C280 and.l D1, D0
00003224 2F01 move.l -[A7], D1
00003226 2F2E FFD4 move.l -[A7], [A6 - 0x2C]
0000322A 4E93 jsr [A3]
0000322C 2F0B move.l -[A7], A3
0000322E 4EBA 162C jsr [PC + 0x162C /* 0000485C */]
00003232 4FEF 0010 lea.l A7, [A7 + 0x10]
label00003236:
00003236 536D AFA0 subq.w [A5 - 0x5060], 1
0000323A 6058 bra +0x5A /* 00003294 */
label0000323C:
0000323C 206D B352 movea.l A0, [A5 - 0x4CAE]
00003240 2050 movea.l A0, [A0]
00003242 4AA8 0002 tst.l [A0 + 0x2]
00003246 674C beq +0x4E /* 00003294 */
00003248 4AAE FFD4 tst.l [A6 - 0x2C]
0000324C 6746 beq +0x48 /* 00003294 */
0000324E 206D B352 movea.l A0, [A5 - 0x4CAE]
00003252 2050 movea.l A0, [A0]
00003254 202E FFD4 move.l D0, [A6 - 0x2C]
00003258 B0A8 0002 cmp.l D0, [A0 + 0x2]
0000325C 6712 beq +0x14 /* 00003270 */
0000325E 206E FFD4 movea.l A0, [A6 - 0x2C]
00003262 3028 006C move.w D0, [A0 + 0x6C]
00003266 48C0 ext.l D0
00003268 0C80 0000 6590 cmpi.l D0, 0x6590
0000326E 6624 bne +0x26 /* 00003294 */
label00003270:
00003270 486D 270A pea.l [A5 + 0x270A /* export_1245 */]
00003274 4EBA 1632 jsr [PC + 0x1632 /* 000048A8 */]
00003278 4A40 tst.w D0
0000327A 588F addq.l A7, 4
0000327C 6716 beq +0x18 /* 00003294 */
0000327E 2F2D B352 move.l -[A7], [A5 - 0x4CAE]
00003282 486E FFD2 pea.l [A6 - 0x2E]
00003286 4EAD 270A jsr [A5 + 0x270A /* export_1245 */]
0000328A 486D 270A pea.l [A5 + 0x270A /* export_1245 */]
0000328E 4EBA 15CC jsr [PC + 0x15CC /* 0000485C */]
00003292 588F addq.l A7, 4
label00003294:
00003294 598F subq.l A7, 4
00003296 A924 syscall FrontWindow
00003298 205F movea.l A0, [A7]+
0000329A 4A68 006C tst.w [A0 + 0x6C]
0000329E 6C00 F176 bge -0xE88 /* 00002416 */
000032A2 7001 moveq.l D0, 0x01
000032A4 2F00 move.l -[A7], D0
000032A6 486D 2352 pea.l [A5 + 0x2352 /* export_1126 */]
000032AA 4EBA 16A6 jsr [PC + 0x16A6 /* 00004952 */]
000032AE 508F addq.l A7, 8
000032B0 6000 F164 bra -0xE9A /* 00002416 */
label000032B4:
000032B4 486E FFD2 pea.l [A6 - 0x2E]
000032B8 4EBA 0C76 jsr [PC + 0xC76 /* 00003F30 */]
000032BC 588F addq.l A7, 4
000032BE 6000 F156 bra -0xEA8 /* 00002416 */
label000032C2:
000032C2 203C FF00 0000 move.l D0, 0xFF000000
000032C8 C0AE FFD4 and.l D0, [A6 - 0x2C]
000032CC 0C80 0100 0000 cmpi.l D0, 0x1000000
000032D2 6600 F142 bne -0xEBC /* 00002416 */
000032D6 7007 moveq.l D0, 0x07
000032D8 B06D F976 cmp.w D0, [A5 - 0x68A]
000032DC 661A bne +0x1C /* 000032F8 */
000032DE 4EAD 2C72 jsr [A5 + 0x2C72 /* export_1418 */]
000032E2 4EAD 2C92 jsr [A5 + 0x2C92 /* export_1422 */]
000032E6 3B7C 0001 F976 move.w [A5 - 0x68A], 0x1
000032EC 600A bra +0xC /* 000032F8 */
label000032EE:
000032EE 4A6D B25A tst.w [A5 - 0x4DA6]
000032F2 6704 beq +0x6 /* 000032F8 */
000032F4 4EBA 14C4 jsr [PC + 0x14C4 /* 000047BA */]
label000032F8:
000032F8 4AAD B25C tst.l [A5 - 0x4DA4]
000032FC 66F0 bne -0xE /* 000032EE */
000032FE 4AAD B260 tst.l [A5 - 0x4DA0]
00003302 66EA bne -0x14 /* 000032EE */
00003304 7001 moveq.l D0, 0x01
00003306 C0AE FFD4 and.l D0, [A6 - 0x2C]
0000330A 57C0 seq D0
0000330C 0240 0001 andi.w D0, 0x1
00003310 3B40 AF5C move.w [A5 - 0x50A4], D0
00003314 6714 beq +0x16 /* 0000332A */
00003316 7001 moveq.l D0, 0x01
00003318 2F00 move.l -[A7], D0
0000331A 486D 2352 pea.l [A5 + 0x2352 /* export_1126 */]
0000331E 4EBA 1632 jsr [PC + 0x1632 /* 00004952 */]
00003322 426D EA4A clr.w [A5 - 0x15B6]
00003326 508F addq.l A7, 8
00003328 6010 bra +0x12 /* 0000333A */
label0000332A:
0000332A 4A6D B20E tst.w [A5 - 0x4DF2]
0000332E 670A beq +0xC /* 0000333A */
00003330 7000 moveq.l D0, 0x00
00003332 3F00 move.w -[A7], D0
00003334 A938 syscall HiliteMenu
00003336 426D B20E clr.w [A5 - 0x4DF2]
label0000333A:
0000333A 4EBA 17B2 jsr [PC + 0x17B2 /* 00004AEE */]
0000333E 4A40 tst.w D0
00003340 672A beq +0x2C /* 0000336C */
00003342 486D 270A pea.l [A5 + 0x270A /* export_1245 */]
00003346 4EBA 1560 jsr [PC + 0x1560 /* 000048A8 */]
0000334A 4A40 tst.w D0
0000334C 588F addq.l A7, 4
0000334E 6700 F0C6 beq -0xF38 /* 00002416 */
00003352 2F2D B352 move.l -[A7], [A5 - 0x4CAE]
00003356 486E FFD2 pea.l [A6 - 0x2E]
0000335A 4EAD 270A jsr [A5 + 0x270A /* export_1245 */]
0000335E 486D 270A pea.l [A5 + 0x270A /* export_1245 */]
00003362 4EBA 14F8 jsr [PC + 0x14F8 /* 0000485C */]
00003366 588F addq.l A7, 4
00003368 6000 F0AC bra -0xF52 /* 00002416 */
label0000336C:
0000336C 4AAE 0008 tst.l [A6 + 0x8]
00003370 6706 beq +0x8 /* 00003378 */
00003372 202E 0008 move.l D0, [A6 + 0x8]
00003376 6004 bra +0x6 /* 0000337C */
label00003378:
00003378 202D E9E2 move.l D0, [A5 - 0x161E]
label0000337C:
0000337C 2D40 FFCE move.l [A6 - 0x32], D0
00003380 6700 F094 beq -0xF6A /* 00002416 */
00003384 526D AFA0 addq.w [A5 - 0x5060], 1
00003388 206E FFCE movea.l A0, [A6 - 0x32]
0000338C 2668 0104 movea.l A3, [A0 + 0x104]
00003390 200B move.l D0, A3
00003392 6604 bne +0x6 /* 00003398 */
00003394 47ED 0A1A lea.l A3, [A5 + 0xA1A /* export_319 */]
label00003398:
00003398 2F0B move.l -[A7], A3
0000339A 4EBA 150C jsr [PC + 0x150C /* 000048A8 */]
0000339E 4A40 tst.w D0
000033A0 588F addq.l A7, 4
000033A2 6762 beq +0x64 /* 00003406 */
000033A4 7000 moveq.l D0, 0x00
000033A6 4AAE 0008 tst.l [A6 + 0x8]
000033AA 663A bne +0x3C /* 000033E6 */
000033AC 7200 moveq.l D1, 0x00
000033AE 342D AF5C move.w D2, [A5 - 0x50A4]
000033B2 48C2 ext.l D2
000033B4 57C1 seq D1
000033B6 4401 neg.b D1
000033B8 6718 beq +0x1A /* 000033D2 */
000033BA 206E FFCE movea.l A0, [A6 - 0x32]
000033BE 7200 moveq.l D1, 0x00
000033C0 3228 0168 move.w D1, [A0 + 0x168]
000033C4 7404 moveq.l D2, 0x04
000033C6 C481 and.l D2, D1
000033C8 57C1 seq D1
000033CA 0241 0001 andi.w D1, 0x1
000033CE 48C1 ext.l D1
000033D0 6010 bra +0x12 /* 000033E2 */
label000033D2:
000033D2 206E FFCE movea.l A0, [A6 - 0x32]
000033D6 7200 moveq.l D1, 0x00
000033D8 3228 0168 move.w D1, [A0 + 0x168]
000033DC 7404 moveq.l D2, 0x04
000033DE C481 and.l D2, D1
000033E0 2202 move.l D1, D2
label000033E2:
000033E2 6702 beq +0x4 /* 000033E6 */
000033E4 7001 moveq.l D0, 0x01
label000033E6:
000033E6 2F00 move.l -[A7], D0
000033E8 7000 moveq.l D0, 0x00
000033EA 322D AF5C move.w D1, [A5 - 0x50A4]
000033EE 48C1 ext.l D1
000033F0 57C0 seq D0
000033F2 4400 neg.b D0
000033F4 2F00 move.l -[A7], D0
000033F6 2F2E FFCE move.l -[A7], [A6 - 0x32]
000033FA 4E93 jsr [A3]
000033FC 2F0B move.l -[A7], A3
000033FE 4EBA 145C jsr [PC + 0x145C /* 0000485C */]
00003402 4FEF 0010 lea.l A7, [A7 + 0x10]
label00003406:
00003406 536D AFA0 subq.w [A5 - 0x5060], 1
0000340A 6000 F00A bra -0xFF4 /* 00002416 */
label0000340E:
0000340E 203C FFFF 0000 move.l D0, 0xFFFF0000
00003414 C0AE FFD4 and.l D0, [A6 - 0x2C]
00003418 6700 EFFC beq -0x1002 /* 00002416 */
0000341C 3D7C 0070 FFDE move.w [A6 - 0x22], 0x70 /* 'p' */
00003422 3D7C 0050 FFDC move.w [A6 - 0x24], 0x50 /* 'P' */
00003428 558F subq.l A7, 2
0000342A 2F2E FFDC move.l -[A7], [A6 - 0x24]
0000342E 2F2E FFD4 move.l -[A7], [A6 - 0x2C]
00003432 4EBA 3AE6 jsr [PC + 0x3AE6 /* 00006F1A */]
00003436 548F addq.l A7, 2
00003438 6000 EFDC bra -0x1022 /* 00002416 */
label0000343C:
0000343C 486E FFD2 pea.l [A6 - 0x2E]
00003440 4EBA 16E6 jsr [PC + 0x16E6 /* 00004B28 */]
00003444 588F addq.l A7, 4
00003446 6000 EFCE bra -0x1030 /* 00002416 */
label0000344A:
0000344A 3D6E FFE0 FFFC move.w [A6 - 0x4], [A6 - 0x20]
label00003450:
00003450 4CEE 18F0 FFB6 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x4A]
00003456 4E5E unlink A6
00003458 4E75 rts
fn0000345A:
0000345A 4E56 FEEE link A6, -0x0112
0000345E 48E7 0F00 movem.l -[A7], D4,D5,D6,D7
00003462 3D7C 0001 FFF2 move.w [A6 - 0xE], 0x1
00003468 7801 moveq.l D4, 0x01
0000346A 3D44 FFF0 move.w [A6 - 0x10], D4
0000346E 4246 clr.w D6
00003470 3D6E 000A FFFE move.w [A6 - 0x2], [A6 + 0xA]
00003476 3D6E 0008 FFFC move.w [A6 - 0x4], [A6 + 0x8]
0000347C 206D AF9A movea.l A0, [A5 - 0x5066]
00003480 3028 018A move.w D0, [A0 + 0x18A]
00003484 6710 beq +0x12 /* 00003496 */
00003486 5740 subq.w D0, 3
00003488 6700 0296 beq +0x298 /* 00003720 */
0000348C 5940 subq.w D0, 4
0000348E 6700 01E2 beq +0x1E4 /* 00003672 */
00003492 6000 02D4 bra +0x2D6 /* 00003768 */
label00003496:
00003496 206D B9FC movea.l A0, [A5 - 0x4604]
0000349A 7010 moveq.l D0, 0x10
0000349C C068 01AE and.w D0, [A0 + 0x1AE]
000034A0 6600 00A8 bne +0xAA /* 0000354A */
000034A4 486E FFF4 pea.l [A6 - 0xC]
000034A8 2F2E FFFC move.l -[A7], [A6 - 0x4]
000034AC 2F2D B9FC move.l -[A7], [A5 - 0x4604]
000034B0 4EAD 10CA jsr [A5 + 0x10CA /* export_533 */]
000034B4 3E00 move.w D7, D0
000034B6 4FEF 000C lea.l A7, [A7 + 0xC]
000034BA 673A beq +0x3C /* 000034F6 */
000034BC 5347 subq.w D7, 1
000034BE 4A47 tst.w D7
000034C0 6706 beq +0x8 /* 000034C8 */
000034C2 0C47 0001 cmpi.w D7, 0x1
000034C6 6624 bne +0x26 /* 000034EC */
label000034C8:
000034C8 4244 clr.w D4
000034CA 48C7 ext.l D7
000034CC 2007 move.l D0, D7
000034CE E780 asl D0, 3
000034D0 41ED BD58 lea.l A0, [A5 - 0x42A8]
000034D4 48C7 ext.l D7
000034D6 2207 move.l D1, D7
000034D8 E781 asl D1, 3
000034DA 43ED BD58 lea.l A1, [A5 - 0x42A8]
000034DE 3030 0806 move.w D0, [A0 + D0 + 0x6]
000034E2 9071 1802 sub.w D0, [A1 + D1 + 0x2]
000034E6 3D40 000A move.w [A6 + 0xA], D0
000034EA 6002 bra +0x4 /* 000034EE */
label000034EC:
000034EC 7C01 moveq.l D6, 0x01
label000034EE:
000034EE 0647 0013 addi.w D7, 0x13
000034F2 6000 0278 bra +0x27A /* 0000376C */
label000034F6:
000034F6 206D B9FC movea.l A0, [A5 - 0x4604]
000034FA 41E8 0308 lea.l A0, [A0 + 0x308]
000034FE 2F20 move.l -[A7], -[A0]
00003500 2F20 move.l -[A7], -[A0]
00003502 2F2E FFFC move.l -[A7], [A6 - 0x4]
00003506 4EAD 0D1A jsr [A5 + 0xD1A /* export_415 */]
0000350A 4A40 tst.w D0
0000350C 4FEF 000C lea.l A7, [A7 + 0xC]
00003510 6738 beq +0x3A /* 0000354A */
00003512 486E FFF4 pea.l [A6 - 0xC]
00003516 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000351A 2F2D B9FC move.l -[A7], [A5 - 0x4604]
0000351E 4EAD 152A jsr [A5 + 0x152A /* export_673 */]
00003522 3E00 move.w D7, D0
00003524 DE7C 000B add.w D7, 0xB
00003528 7001 moveq.l D0, 0x01
0000352A C047 and.w D0, D7
0000352C 4FEF 000C lea.l A7, [A7 + 0xC]
00003530 6604 bne +0x6 /* 00003536 */
00003532 526E FFFA addq.w [A6 - 0x6], 1
label00003536:
00003536 0C47 000F cmpi.w D7, 0xF
0000353A 6708 beq +0xA /* 00003544 */
0000353C 0C47 0011 cmpi.w D7, 0x11
00003540 6600 022A bne +0x22C /* 0000376C */
label00003544:
00003544 7C01 moveq.l D6, 0x01
00003546 6000 0224 bra +0x226 /* 0000376C */
label0000354A:
0000354A 206D B9FC movea.l A0, [A5 - 0x4604]
0000354E 7008 moveq.l D0, 0x08
00003550 C068 01AE and.w D0, [A0 + 0x1AE]
00003554 6600 00E8 bne +0xEA /* 0000363E */
00003558 7C01 moveq.l D6, 0x01
0000355A 206D B9FC movea.l A0, [A5 - 0x4604]
0000355E 41E8 02F6 lea.l A0, [A0 + 0x2F6]
00003562 2F20 move.l -[A7], -[A0]
00003564 2F20 move.l -[A7], -[A0]
00003566 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000356A 4EAD 0D1A jsr [A5 + 0xD1A /* export_415 */]
0000356E 4A40 tst.w D0
00003570 4FEF 000C lea.l A7, [A7 + 0xC]
00003574 673A beq +0x3C /* 000035B0 */
00003576 206D B9FC movea.l A0, [A5 - 0x4604]
0000357A 43EE FFF4 lea.l A1, [A6 - 0xC]
0000357E 41E8 02EE lea.l A0, [A0 + 0x2EE]
00003582 22D8 move.l [A1]+, [A0]+
00003584 22D8 move.l [A1]+, [A0]+
00003586 206D B9FC movea.l A0, [A5 - 0x4604]
0000358A 3028 02F6 move.w D0, [A0 + 0x2F6]
0000358E D06E FFF6 add.w D0, [A6 - 0xA]
00003592 3A00 move.w D5, D0
00003594 5245 addq.w D5, 1
00003596 BA6E FFFE cmp.w D5, [A6 - 0x2]
0000359A 6E0A bgt +0xC /* 000035A6 */
0000359C 7E0A moveq.l D7, 0x0A
0000359E 3D45 FFF6 move.w [A6 - 0xA], D5
000035A2 6000 01C8 bra +0x1CA /* 0000376C */
label000035A6:
000035A6 7E09 moveq.l D7, 0x09
000035A8 3D45 FFFA move.w [A6 - 0x6], D5
000035AC 6000 01BE bra +0x1C0 /* 0000376C */
label000035B0:
000035B0 206D B9FC movea.l A0, [A5 - 0x4604]
000035B4 41E8 01CA lea.l A0, [A0 + 0x1CA]
000035B8 2F20 move.l -[A7], -[A0]
000035BA 2F20 move.l -[A7], -[A0]
000035BC 2F2E FFFC move.l -[A7], [A6 - 0x4]
000035C0 4EAD 0D1A jsr [A5 + 0xD1A /* export_415 */]
000035C4 4A40 tst.w D0
000035C6 4FEF 000C lea.l A7, [A7 + 0xC]
000035CA 6740 beq +0x42 /* 0000360C */
000035CC 206D B9FC movea.l A0, [A5 - 0x4604]
000035D0 43EE FFF4 lea.l A1, [A6 - 0xC]
000035D4 41E8 01C2 lea.l A0, [A0 + 0x1C2]
000035D8 22D8 move.l [A1]+, [A0]+
000035DA 22D8 move.l [A1]+, [A0]+
000035DC 7048 moveq.l D0, 0x48
000035DE 2F00 move.l -[A7], D0
000035E0 4878 0104 push.l 0x104
000035E4 4EAD 0702 jsr [A5 + 0x702 /* export_220 */]
000035E8 3A2E FFFA move.w D5, [A6 - 0x6]
000035EC 9A40 sub.w D5, D0
000035EE BA6E FFFE cmp.w D5, [A6 - 0x2]
000035F2 508F addq.l A7, 8
000035F4 6E0A bgt +0xC /* 00003600 */
000035F6 7E08 moveq.l D7, 0x08
000035F8 3D45 FFF6 move.w [A6 - 0xA], D5
000035FC 6000 016E bra +0x170 /* 0000376C */
label00003600:
00003600 7E07 moveq.l D7, 0x07
00003602 3D45 FFFA move.w [A6 - 0x6], D5
00003606 4244 clr.w D4
00003608 6000 0162 bra +0x164 /* 0000376C */
label0000360C:
0000360C 206D B9FC movea.l A0, [A5 - 0x4604]
00003610 41E8 02CC lea.l A0, [A0 + 0x2CC]
00003614 2F20 move.l -[A7], -[A0]
00003616 2F20 move.l -[A7], -[A0]
00003618 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000361C 4EAD 0D1A jsr [A5 + 0xD1A /* export_415 */]
00003620 4A40 tst.w D0
00003622 4FEF 000C lea.l A7, [A7 + 0xC]
00003626 6716 beq +0x18 /* 0000363E */
00003628 206D B9FC movea.l A0, [A5 - 0x4604]
0000362C 43EE FFF4 lea.l A1, [A6 - 0xC]
00003630 41E8 02C4 lea.l A0, [A0 + 0x2C4]
00003634 22D8 move.l [A1]+, [A0]+
00003636 22D8 move.l [A1]+, [A0]+
00003638 7E06 moveq.l D7, 0x06
0000363A 6000 0130 bra +0x132 /* 0000376C */
label0000363E:
0000363E 486E FFF4 pea.l [A6 - 0xC]
00003642 2F2E FFFC move.l -[A7], [A6 - 0x4]
00003646 206D B9FC movea.l A0, [A5 - 0x4604]
0000364A 41E8 0328 lea.l A0, [A0 + 0x328]
0000364E 2F20 move.l -[A7], -[A0]
00003650 2F20 move.l -[A7], -[A0]
00003652 4EAD 1542 jsr [A5 + 0x1542 /* export_676 */]
00003656 3E00 move.w D7, D0
00003658 4FEF 0010 lea.l A7, [A7 + 0x10]
0000365C 6714 beq +0x16 /* 00003672 */
0000365E 0C47 0004 cmpi.w D7, 0x4
00003662 6604 bne +0x6 /* 00003668 */
00003664 7005 moveq.l D0, 0x05
00003666 6002 bra +0x4 /* 0000366A */
label00003668:
00003668 7004 moveq.l D0, 0x04
label0000366A:
0000366A 3E00 move.w D7, D0
0000366C 7C05 moveq.l D6, 0x05
0000366E 6000 00FC bra +0xFE /* 0000376C */
label00003672:
00003672 206D E9DE movea.l A0, [A5 - 0x1622]
00003676 4AA8 00C2 tst.l [A0 + 0xC2]
0000367A 674E beq +0x50 /* 000036CA */
0000367C 7C03 moveq.l D6, 0x03
0000367E 206D AF9A movea.l A0, [A5 - 0x5066]
00003682 3D68 0016 FFFA move.w [A6 - 0x6], [A0 + 0x16]
00003688 3028 0016 move.w D0, [A0 + 0x16]
0000368C 907C 000F sub.w D0, 0xF
00003690 3D40 FFF6 move.w [A6 - 0xA], D0
00003694 426E FFF4 clr.w [A6 - 0xC]
00003698 206D AF9A movea.l A0, [A5 - 0x5066]
0000369C 3028 0014 move.w D0, [A0 + 0x14]
000036A0 907C 000F sub.w D0, 0xF
000036A4 3D40 FFF8 move.w [A6 - 0x8], D0
000036A8 41EE FFFC lea.l A0, [A6 - 0x4]
000036AC 2F20 move.l -[A7], -[A0]
000036AE 2F20 move.l -[A7], -[A0]
000036B0 2F2E FFFC move.l -[A7], [A6 - 0x4]
000036B4 4EAD 0D1A jsr [A5 + 0xD1A /* export_415 */]
000036B8 4A40 tst.w D0
000036BA 4FEF 000C lea.l A7, [A7 + 0xC]
000036BE 670A beq +0xC /* 000036CA */
000036C0 7E03 moveq.l D7, 0x03
000036C2 426E FFF2 clr.w [A6 - 0xE]
000036C6 6000 00A4 bra +0xA6 /* 0000376C */
label000036CA:
000036CA 206D E9DE movea.l A0, [A5 - 0x1622]
000036CE 4AA8 00BE tst.l [A0 + 0xBE]
000036D2 674C beq +0x4E /* 00003720 */
000036D4 7C05 moveq.l D6, 0x05
000036D6 3D6D BD92 FFF6 move.w [A6 - 0xA], [A5 - 0x426E]
000036DC 206D AF9A movea.l A0, [A5 - 0x5066]
000036E0 3028 0016 move.w D0, [A0 + 0x16]
000036E4 907C 000F sub.w D0, 0xF
000036E8 3D40 FFFA move.w [A6 - 0x6], D0
000036EC 206D AF9A movea.l A0, [A5 - 0x5066]
000036F0 3D68 0014 FFF8 move.w [A6 - 0x8], [A0 + 0x14]
000036F6 3028 0014 move.w D0, [A0 + 0x14]
000036FA 907C 000F sub.w D0, 0xF
000036FE 3D40 FFF4 move.w [A6 - 0xC], D0
00003702 41EE FFFC lea.l A0, [A6 - 0x4]
00003706 2F20 move.l -[A7], -[A0]
00003708 2F20 move.l -[A7], -[A0]
0000370A 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000370E 4EAD 0D1A jsr [A5 + 0xD1A /* export_415 */]
00003712 4A40 tst.w D0
00003714 4FEF 000C lea.l A7, [A7 + 0xC]
00003718 6706 beq +0x8 /* 00003720 */
0000371A 7E02 moveq.l D7, 0x02
0000371C 4244 clr.w D4
0000371E 604C bra +0x4E /* 0000376C */
label00003720:
00003720 7E01 moveq.l D7, 0x01
00003722 7C05 moveq.l D6, 0x05
00003724 206D AF9A movea.l A0, [A5 - 0x5066]
00003728 3D68 0016 FFFA move.w [A6 - 0x6], [A0 + 0x16]
0000372E 3028 0016 move.w D0, [A0 + 0x16]
00003732 907C 000F sub.w D0, 0xF
00003736 3D40 FFF6 move.w [A6 - 0xA], D0
0000373A 206D AF9A movea.l A0, [A5 - 0x5066]
0000373E 3D68 0014 FFF8 move.w [A6 - 0x8], [A0 + 0x14]
00003744 3028 0014 move.w D0, [A0 + 0x14]
00003748 907C 000F sub.w D0, 0xF
0000374C 3D40 FFF4 move.w [A6 - 0xC], D0
00003750 41EE FFFC lea.l A0, [A6 - 0x4]
00003754 2F20 move.l -[A7], -[A0]
00003756 2F20 move.l -[A7], -[A0]
00003758 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000375C 4EAD 0D1A jsr [A5 + 0xD1A /* export_415 */]
00003760 4A40 tst.w D0
00003762 4FEF 000C lea.l A7, [A7 + 0xC]
00003766 6604 bne +0x6 /* 0000376C */
label00003768:
00003768 426E FFF0 clr.w [A6 - 0x10]
label0000376C:
0000376C 4A6E FFF0 tst.w [A6 - 0x10]
00003770 6700 00B6 beq +0xB8 /* 00003828 */
00003774 BE6D AF3A cmp.w D7, [A5 - 0x50C6]
00003778 660E bne +0x10 /* 00003788 */
0000377A 558F subq.l A7, 2
0000377C 303C 0007 move.w D0, 0x7
00003780 A830 syscall Pack14
00003782 4A1F tst.b [A7]+
00003784 6600 00B6 bne +0xB8 /* 0000383C */
label00003788:
00003788 3D7C 0001 FEEE move.w [A6 - 0x112], 0x1
0000378E 48C7 ext.l D7
00003790 2F07 move.l -[A7], D7
00003792 4878 0102 push.l 0x102
00003796 486E FEF0 pea.l [A6 - 0x110]
0000379A 4EBA 08E4 jsr [PC + 0x8E4 /* 00004080 */]
0000379E 4A2E FEF0 tst.b [A6 - 0x110]
000037A2 4FEF 000C lea.l A7, [A7 + 0xC]
000037A6 6700 0094 beq +0x96 /* 0000383C */
000037AA 4A44 tst.w D4
000037AC 6718 beq +0x1A /* 000037C6 */
000037AE 302E FFF6 move.w D0, [A6 - 0xA]
000037B2 48C0 ext.l D0
000037B4 322E FFFA move.w D1, [A6 - 0x6]
000037B8 926E FFF6 sub.w D1, [A6 - 0xA]
000037BC 48C1 ext.l D1
000037BE E281 asr D1, 1
000037C0 D280 add.l D1, D0
000037C2 3D41 000A move.w [A6 + 0xA], D1
label000037C6:
000037C6 4A6E FFF2 tst.w [A6 - 0xE]
000037CA 6718 beq +0x1A /* 000037E4 */
000037CC 302E FFF4 move.w D0, [A6 - 0xC]
000037D0 48C0 ext.l D0
000037D2 322E FFF8 move.w D1, [A6 - 0x8]
000037D6 926E FFF4 sub.w D1, [A6 - 0xC]
000037DA 48C1 ext.l D1
000037DC E281 asr D1, 1
000037DE D280 add.l D1, D0
000037E0 3D41 0008 move.w [A6 + 0x8], D1
label000037E4:
000037E4 486E 0008 pea.l [A6 + 0x8]
000037E8 A870 syscall LocalToGlobal
000037EA 486E FFF4 pea.l [A6 - 0xC]
000037EE A870 syscall LocalToGlobal
000037F0 526E FFFA addq.w [A6 - 0x6], 1
000037F4 526E FFF8 addq.w [A6 - 0x8], 1
000037F8 486E FFF8 pea.l [A6 - 0x8]
000037FC A870 syscall LocalToGlobal
000037FE 558F subq.l A7, 2
00003800 486E FEEE pea.l [A6 - 0x112]
00003804 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003808 486E FFF4 pea.l [A6 - 0xC]
0000380C 7000 moveq.l D0, 0x00
0000380E 2F00 move.l -[A7], D0
00003810 7200 moveq.l D1, 0x00
00003812 3F01 move.w -[A7], D1
00003814 3F06 move.w -[A7], D6
00003816 3F01 move.w -[A7], D1
00003818 303C 0B01 move.w D0, 0xB01
0000381C A830 syscall Pack14
0000381E 4A5F tst.w [A7]+
00003820 661A bne +0x1C /* 0000383C */
00003822 3B47 AF3A move.w [A5 - 0x50C6], D7
00003826 6014 bra +0x16 /* 0000383C */
label00003828:
00003828 4A6D AF3A tst.w [A5 - 0x50C6]
0000382C 670E beq +0x10 /* 0000383C */
0000382E 558F subq.l A7, 2
00003830 303C 0002 move.w D0, 0x2
00003834 A830 syscall Pack14
00003836 426D AF3A clr.w [A5 - 0x50C6]
0000383A 548F addq.l A7, 2
label0000383C:
0000383C 4CEE 00F0 FEDE movem.l D4,D5,D6,D7, [A6 - 0x122]
00003842 4E5E unlink A6
00003844 4E75 rts
export_51:
fn00003846:
00003846 4E56 FFF4 link A6, -0x000C
0000384A 48E7 0F00 movem.l -[A7], D4,D5,D6,D7
0000384E 4246 clr.w D6
00003850 4245 clr.w D5
00003852 4247 clr.w D7
00003854 4AAD AFCA tst.l [A5 - 0x5036]
00003858 6700 0182 beq +0x184 /* 000039DC */
0000385C 206D AFCA movea.l A0, [A5 - 0x5036]
00003860 4A68 00F2 tst.w [A0 + 0xF2]
00003864 6706 beq +0x8 /* 0000386C */
00003866 4A6E 000A tst.w [A6 + 0xA]
0000386A 6724 beq +0x26 /* 00003890 */
label0000386C:
0000386C 206D AFCA movea.l A0, [A5 - 0x5036]
00003870 4A68 00F4 tst.w [A0 + 0xF4]
00003874 6700 00A8 beq +0xAA /* 0000391E */
00003878 7E01 moveq.l D7, 0x01
0000387A 206D AFCA movea.l A0, [A5 - 0x5036]
0000387E 4268 00F4 clr.w [A0 + 0xF4]
00003882 206D AFCA movea.l A0, [A5 - 0x5036]
00003886 7000 moveq.l D0, 0x00
00003888 2140 00F6 move.l [A0 + 0xF6], D0
0000388C 6000 0090 bra +0x92 /* 0000391E */
label00003890:
00003890 206D AFCA movea.l A0, [A5 - 0x5036]
00003894 226D AFCA movea.l A1, [A5 - 0x5036]
00003898 3028 00EC move.w D0, [A0 + 0xEC]
0000389C B069 00FC cmp.w D0, [A1 + 0xFC]
000038A0 6626 bne +0x28 /* 000038C8 */
000038A2 206D AFCA movea.l A0, [A5 - 0x5036]
000038A6 226D AFCA movea.l A1, [A5 - 0x5036]
000038AA 3028 00EA move.w D0, [A0 + 0xEA]
000038AE B069 00FA cmp.w D0, [A1 + 0xFA]
000038B2 6614 bne +0x16 /* 000038C8 */
000038B4 206D AFCA movea.l A0, [A5 - 0x5036]
000038B8 3028 00EE move.w D0, [A0 + 0xEE]
000038BC 5240 addq.w D0, 1
000038BE 206D AFCA movea.l A0, [A5 - 0x5036]
000038C2 B068 00FE cmp.w D0, [A0 + 0xFE]
000038C6 6722 beq +0x24 /* 000038EA */
label000038C8:
000038C8 206D AFCA movea.l A0, [A5 - 0x5036]
000038CC 4A68 00F4 tst.w [A0 + 0xF4]
000038D0 670A beq +0xC /* 000038DC */
000038D2 7E01 moveq.l D7, 0x01
000038D4 206D AFCA movea.l A0, [A5 - 0x5036]
000038D8 4268 00F4 clr.w [A0 + 0xF4]
label000038DC:
000038DC 7C01 moveq.l D6, 0x01
000038DE 206D AFCA movea.l A0, [A5 - 0x5036]
000038E2 7000 moveq.l D0, 0x00
000038E4 2140 00F6 move.l [A0 + 0xF6], D0
000038E8 6034 bra +0x36 /* 0000391E */
label000038EA:
000038EA 598F subq.l A7, 4
000038EC A975 syscall TickCount
000038EE 281F move.l D4, [A7]+
000038F0 206D AFCA movea.l A0, [A5 - 0x5036]
000038F4 2004 move.l D0, D4
000038F6 90A8 00F6 sub.l D0, [A0 + 0xF6]
000038FA 2F00 move.l -[A7], D0
000038FC 598F subq.l A7, 4
000038FE 2EB8 02F4 move.l [A7], [0x000002F4 /* CaretTime */]
00003902 221F move.l D1, [A7]+
00003904 201F move.l D0, [A7]+
00003906 B280 cmp.l D1, D0
00003908 6414 bcc +0x16 /* 0000391E */
0000390A 206D AFCA movea.l A0, [A5 - 0x5036]
0000390E 2144 00F6 move.l [A0 + 0xF6], D4
00003912 7E01 moveq.l D7, 0x01
00003914 206D AFCA movea.l A0, [A5 - 0x5036]
00003918 0A68 0001 00F4 xori.w [A0 + 0xF4], 0x1
label0000391E:
0000391E 4A47 tst.w D7
00003920 677A beq +0x7C /* 0000399C */
00003922 206D AFCA movea.l A0, [A5 - 0x5036]
00003926 4A68 018A tst.w [A0 + 0x18A]
0000392A 6654 bne +0x56 /* 00003980 */
0000392C 2F2D AFCA move.l -[A7], [A5 - 0x5036]
00003930 4EAD 1282 jsr [A5 + 0x1282 /* export_588 */]
00003934 4A40 tst.w D0
00003936 588F addq.l A7, 4
00003938 6746 beq +0x48 /* 00003980 */
0000393A 7A01 moveq.l D5, 0x01
0000393C 4EAD 0962 jsr [A5 + 0x962 /* export_296 */]
00003940 206D AFCA movea.l A0, [A5 - 0x5036]
00003944 43EE FFF4 lea.l A1, [A6 - 0xC]
00003948 41E8 0392 lea.l A0, [A0 + 0x392]
0000394C 22D8 move.l [A1]+, [A0]+
0000394E 22D8 move.l [A1]+, [A0]+
00003950 206D E9DE movea.l A0, [A5 - 0x1622]
00003954 3D68 0012 FFFE move.w [A6 - 0x2], [A0 + 0x12]
0000395A 206D E9DE movea.l A0, [A5 - 0x1622]
0000395E 3D68 0010 FFFC move.w [A6 - 0x4], [A0 + 0x10]
00003964 2F2E FFFC move.l -[A7], [A6 - 0x4]
00003968 486E FFF4 pea.l [A6 - 0xC]
0000396C 4EAD 0DDA jsr [A5 + 0xDDA /* export_439 */]
00003970 41EE FFFC lea.l A0, [A6 - 0x4]
00003974 2F20 move.l -[A7], -[A0]
00003976 2F20 move.l -[A7], -[A0]
00003978 4EAD 0972 jsr [A5 + 0x972 /* export_298 */]
0000397C 4FEF 0010 lea.l A7, [A7 + 0x10]
label00003980:
00003980 2F2D AFCA move.l -[A7], [A5 - 0x5036]
00003984 4EAD 076A jsr [A5 + 0x76A /* export_233 */]
00003988 206D AFCA movea.l A0, [A5 - 0x5036]
0000398C 4868 00FA pea.l [A0 + 0xFA]
00003990 A8A4 syscall InvertRect
00003992 4A45 tst.w D5
00003994 588F addq.l A7, 4
00003996 6704 beq +0x6 /* 0000399C */
00003998 4EAD 096A jsr [A5 + 0x96A /* export_297 */]
label0000399C:
0000399C 4A46 tst.w D6
0000399E 673C beq +0x3E /* 000039DC */
000039A0 206D AFCA movea.l A0, [A5 - 0x5036]
000039A4 226D AFCA movea.l A1, [A5 - 0x5036]
000039A8 3368 00EC 00FC move.w [A1 + 0xFC], [A0 + 0xEC]
000039AE 3028 00EC move.w D0, [A0 + 0xEC]
000039B2 5240 addq.w D0, 1
000039B4 206D AFCA movea.l A0, [A5 - 0x5036]
000039B8 3140 0100 move.w [A0 + 0x100], D0
000039BC 206D AFCA movea.l A0, [A5 - 0x5036]
000039C0 226D AFCA movea.l A1, [A5 - 0x5036]
000039C4 3368 00EA 00FA move.w [A1 + 0xFA], [A0 + 0xEA]
000039CA 206D AFCA movea.l A0, [A5 - 0x5036]
000039CE 3028 00EE move.w D0, [A0 + 0xEE]
000039D2 5240 addq.w D0, 1
000039D4 206D AFCA movea.l A0, [A5 - 0x5036]
000039D8 3140 00FE move.w [A0 + 0xFE], D0
label000039DC:
000039DC 4CEE 00F0 FFE4 movem.l D4,D5,D6,D7, [A6 - 0x1C]
000039E2 4E5E unlink A6
000039E4 4E75 rts
export_52:
000039E6 4E56 FFEA link A6, -0x0016
000039EA 48E7 0110 movem.l -[A7], D7,A3
000039EE 486E FFEA pea.l [A6 - 0x16]
000039F2 A972 syscall GetMouse
000039F4 4A6D AF98 tst.w [A5 - 0x5068]
000039F8 672E beq +0x30 /* 00003A28 */
000039FA 206D AF9A movea.l A0, [A5 - 0x5066]
000039FE 302E FFEC move.w D0, [A6 - 0x14]
00003A02 906D EA54 sub.w D0, [A5 - 0x15AC]
00003A06 3E00 move.w D7, D0
00003A08 DE68 0182 add.w D7, [A0 + 0x182]
00003A0C 4A47 tst.w D7
00003A0E 6C04 bge +0x6 /* 00003A14 */
00003A10 4247 clr.w D7
00003A12 6040 bra +0x42 /* 00003A54 */
label00003A14:
00003A14 206D AF9A movea.l A0, [A5 - 0x5066]
00003A18 BE68 0180 cmp.w D7, [A0 + 0x180]
00003A1C 6F36 ble +0x38 /* 00003A54 */
00003A1E 206D AF9A movea.l A0, [A5 - 0x5066]
00003A22 3E28 0180 move.w D7, [A0 + 0x180]
00003A26 602C bra +0x2E /* 00003A54 */
label00003A28:
00003A28 206D AF9A movea.l A0, [A5 - 0x5066]
00003A2C 302E FFEA move.w D0, [A6 - 0x16]
00003A30 906D EA52 sub.w D0, [A5 - 0x15AE]
00003A34 3E00 move.w D7, D0
00003A36 DE68 0186 add.w D7, [A0 + 0x186]
00003A3A 4A47 tst.w D7
00003A3C 6C04 bge +0x6 /* 00003A42 */
00003A3E 4247 clr.w D7
00003A40 6012 bra +0x14 /* 00003A54 */
label00003A42:
00003A42 206D AF9A movea.l A0, [A5 - 0x5066]
00003A46 BE68 0184 cmp.w D7, [A0 + 0x184]
00003A4A 6F08 ble +0xA /* 00003A54 */
00003A4C 206D AF9A movea.l A0, [A5 - 0x5066]
00003A50 3E28 0184 move.w D7, [A0 + 0x184]
label00003A54:
00003A54 BE6D AF96 cmp.w D7, [A5 - 0x506A]
00003A58 6756 beq +0x58 /* 00003AB0 */
00003A5A 486E FFEE pea.l [A6 - 0x12]
00003A5E A898 syscall GetPenState
00003A60 486D AF7C pea.l [A5 - 0x5084]
00003A64 A899 syscall SetPenState
00003A66 206D AF9A movea.l A0, [A5 - 0x5066]
00003A6A 2668 0120 movea.l A3, [A0 + 0x120]
00003A6E 200B move.l D0, A3
00003A70 6732 beq +0x34 /* 00003AA4 */
00003A72 2F0B move.l -[A7], A3
00003A74 4EBA 0E32 jsr [PC + 0xE32 /* 000048A8 */]
00003A78 4A40 tst.w D0
00003A7A 588F addq.l A7, 4
00003A7C 6726 beq +0x28 /* 00003AA4 */
00003A7E 3B47 AF96 move.w [A5 - 0x506A], D7
00003A82 3007 move.w D0, D7
00003A84 48C0 ext.l D0
00003A86 2F00 move.l -[A7], D0
00003A88 7000 moveq.l D0, 0x00
00003A8A 2F00 move.l -[A7], D0
00003A8C 322D AF98 move.w D1, [A5 - 0x5068]
00003A90 48C1 ext.l D1
00003A92 2F01 move.l -[A7], D1
00003A94 2F2D AF9A move.l -[A7], [A5 - 0x5066]
00003A98 4E93 jsr [A3]
00003A9A 2F0B move.l -[A7], A3
00003A9C 4EBA 0DBE jsr [PC + 0xDBE /* 0000485C */]
00003AA0 4FEF 0014 lea.l A7, [A7 + 0x14]
label00003AA4:
00003AA4 486D AF7C pea.l [A5 - 0x5084]
00003AA8 A898 syscall GetPenState
00003AAA 486E FFEE pea.l [A6 - 0x12]
00003AAE A899 syscall SetPenState
label00003AB0:
00003AB0 4CEE 0880 FFE2 movem.l D7,A3, [A6 - 0x1E]
00003AB6 4E5E unlink A6
00003AB8 4E75 rts
export_53:
00003ABA 4E56 0000 link A6, 0
00003ABE 2F0B move.l -[A7], A3
00003AC0 206D AF9A movea.l A0, [A5 - 0x5066]
00003AC4 2668 010C movea.l A3, [A0 + 0x10C]
00003AC8 200B move.l D0, A3
00003ACA 6700 009C beq +0x9E /* 00003B68 */
00003ACE 2F0B move.l -[A7], A3
00003AD0 4EBA 0DD6 jsr [PC + 0xDD6 /* 000048A8 */]
00003AD4 4A40 tst.w D0
00003AD6 588F addq.l A7, 4
00003AD8 6700 008E beq +0x90 /* 00003B68 */
00003ADC 206D AF9A movea.l A0, [A5 - 0x5066]
00003AE0 4868 00B6 pea.l [A0 + 0xB6]
00003AE4 A87B syscall ClipRect
00003AE6 302E 0008 move.w D0, [A6 + 0x8]
00003AEA 0440 0014 subi.w D0, 0x14
00003AEE 6B66 bmi +0x68 /* 00003B56 */
00003AF0 0C40 0003 cmpi.w D0, 0x3
00003AF4 6E60 bgt +0x62 /* 00003B56 */
00003AF6 D040 add.w D0, D0
00003AF8 303B 0006 move.w D0, [PC + D0.w + 0x6]
00003AFC 4EFB 0000 jmp [PC + D0.w]
00003B00 000A 001E ori.b A2, 0x1E
00003B04 0032 0046 302D ori.b [A2 + D3.w + 0x2D], 0x46 /* 'F' */
00003B0A AF98 syscall BlitCase, auto_pop
00003B0C 48C0 ext.l D0
00003B0E 5280 addq.l D0, 1
00003B10 2F00 move.l -[A7], D0
00003B12 2F2D AF9A move.l -[A7], [A5 - 0x5066]
00003B16 4E93 jsr [A3]
00003B18 508F addq.l A7, 8
00003B1A 603A bra +0x3C /* 00003B56 */
00003B1C 302D AF98 move.w D0, [A5 - 0x5068]
00003B20 48C0 ext.l D0
00003B22 5680 addq.l D0, 3
00003B24 2F00 move.l -[A7], D0
00003B26 2F2D AF9A move.l -[A7], [A5 - 0x5066]
00003B2A 4E93 jsr [A3]
00003B2C 508F addq.l A7, 8
00003B2E 6026 bra +0x28 /* 00003B56 */
00003B30 302D AF98 move.w D0, [A5 - 0x5068]
00003B34 48C0 ext.l D0
00003B36 5A80 addq.l D0, 5
00003B38 2F00 move.l -[A7], D0
00003B3A 2F2D AF9A move.l -[A7], [A5 - 0x5066]
00003B3E 4E93 jsr [A3]
00003B40 508F addq.l A7, 8
00003B42 6012 bra +0x14 /* 00003B56 */
00003B44 302D AF98 move.w D0, [A5 - 0x5068]
00003B48 48C0 ext.l D0
00003B4A 5E80 addq.l D0, 7
00003B4C 2F00 move.l -[A7], D0
00003B4E 2F2D AF9A move.l -[A7], [A5 - 0x5066]
00003B52 4E93 jsr [A3]
00003B54 508F addq.l A7, 8
label00003B56:
00003B56 206D AF9A movea.l A0, [A5 - 0x5066]
00003B5A 4868 0010 pea.l [A0 + 0x10]
00003B5E A87B syscall ClipRect
00003B60 2F0B move.l -[A7], A3
00003B62 4EBA 0CF8 jsr [PC + 0xCF8 /* 0000485C */]
00003B66 588F addq.l A7, 4
label00003B68:
00003B68 266E FFFC movea.l A3, [A6 - 0x4]
00003B6C 4E5E unlink A6
00003B6E 205F movea.l A0, [A7]+
00003B70 5C4F addq.w A7, 6
00003B72 4ED0 jmp [A0]
fn00003B74:
00003B74 4E56 FFFC link A6, -0x0004
00003B78 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00003B7C 286E 0008 movea.l A4, [A6 + 0x8]
00003B80 7007 moveq.l D0, 0x07
00003B82 B06D F976 cmp.w D0, [A5 - 0x68A]
00003B86 6608 bne +0xA /* 00003B90 */
00003B88 4EBA E7E0 jsr [PC - 0x1820 /* 0000236A */]
00003B8C 6000 0398 bra +0x39A /* 00003F26 */
label00003B90:
00003B90 4EBA 0F5C jsr [PC + 0xF5C /* 00004AEE */]
00003B94 4A40 tst.w D0
00003B96 6712 beq +0x14 /* 00003BAA */
00003B98 2F0C move.l -[A7], A4
00003B9A 486D 2702 pea.l [A5 + 0x2702 /* export_1244 */]
00003B9E 4EBA 0DB2 jsr [PC + 0xDB2 /* 00004952 */]
00003BA2 4A40 tst.w D0
00003BA4 508F addq.l A7, 8
00003BA6 6600 037E bne +0x380 /* 00003F26 */
label00003BAA:
00003BAA 7A00 moveq.l D5, 0x00
00003BAC 2E3C 0000 00FF move.l D7, 0xFF
00003BB2 CEAC 0002 and.l D7, [A4 + 0x2]
00003BB6 303C 0100 move.w D0, 0x100
00003BBA C06C 000E and.w D0, [A4 + 0xE]
00003BBE 3D40 FFFC move.w [A6 - 0x4], D0
00003BC2 674A beq +0x4C /* 00003C0E */
00003BC4 0C47 002E cmpi.w D7, 0x2E /* '.' */
00003BC8 6644 bne +0x46 /* 00003C0E */
00003BCA 4AAD B25C tst.l [A5 - 0x4DA4]
00003BCE 6606 bne +0x8 /* 00003BD6 */
00003BD0 4AAD B260 tst.l [A5 - 0x4DA0]
00003BD4 6706 beq +0x8 /* 00003BDC */
label00003BD6:
00003BD6 3B7C 0001 B25A move.w [A5 - 0x4DA6], 0x1
label00003BDC:
00003BDC 4A6D AF62 tst.w [A5 - 0x509E]
00003BE0 6600 0344 bne +0x346 /* 00003F26 */
00003BE4 4A6D AF64 tst.w [A5 - 0x509C]
00003BE8 6600 033C bne +0x33E /* 00003F26 */
00003BEC 3B7C 0001 AF64 move.w [A5 - 0x509C], 0x1
00003BF2 4A6D E5CC tst.w [A5 - 0x1A34]
00003BF6 6710 beq +0x12 /* 00003C08 */
00003BF8 4A6D FC62 tst.w [A5 - 0x39E]
00003BFC 660A bne +0xC /* 00003C08 */
00003BFE 3B7C 0001 E5CE move.w [A5 - 0x1A32], 0x1
00003C04 6000 0320 bra +0x322 /* 00003F26 */
label00003C08:
00003C08 7E1B moveq.l D7, 0x1B
00003C0A 426E FFFC clr.w [A6 - 0x4]
label00003C0E:
00003C0E 4A6D AF9E tst.w [A5 - 0x5062]
00003C12 6708 beq +0xA /* 00003C1C */
00003C14 4EBA E754 jsr [PC - 0x18AC /* 0000236A */]
00003C18 6000 030C bra +0x30E /* 00003F26 */
label00003C1C:
00003C1C 7CFF moveq.l D6, 0xFFFFFFFF
00003C1E 426E FFFE clr.w [A6 - 0x2]
00003C22 203C 0000 FF00 move.l D0, 0xFF00
00003C28 C0AC 0002 and.l D0, [A4 + 0x2]
00003C2C 0480 0000 3500 subi.l D0, 0x3500 /* '5\0' */
00003C32 6700 009A beq +0x9C /* 00003CCE */
00003C36 0480 0000 1200 subi.l D0, 0x1200
00003C3C 6764 beq +0x66 /* 00003CA2 */
00003C3E 0480 0000 1C00 subi.l D0, 0x1C00
00003C44 6750 beq +0x52 /* 00003C96 */
00003C46 0480 0000 0F00 subi.l D0, 0xF00
00003C4C 6750 beq +0x52 /* 00003C9E */
00003C4E 0480 0000 0100 subi.l D0, 0x100
00003C54 6750 beq +0x52 /* 00003CA6 */
00003C56 0480 0000 0100 subi.l D0, 0x100
00003C5C 675C beq +0x5E /* 00003CBA */
00003C5E 0480 0000 0100 subi.l D0, 0x100
00003C64 676C beq +0x6E /* 00003CD2 */
00003C66 0480 0000 0100 subi.l D0, 0x100
00003C6C 672C beq +0x2E /* 00003C9A */
00003C6E 0480 0000 0100 subi.l D0, 0x100
00003C74 673A beq +0x3C /* 00003CB0 */
00003C76 0480 0000 0100 subi.l D0, 0x100
00003C7C 6714 beq +0x16 /* 00003C92 */
00003C7E 0480 0000 0100 subi.l D0, 0x100
00003C84 673E beq +0x40 /* 00003CC4 */
00003C86 0480 0000 0100 subi.l D0, 0x100
00003C8C 6646 bne +0x48 /* 00003CD4 */
00003C8E 7A25 moveq.l D5, 0x25
00003C90 6042 bra +0x44 /* 00003CD4 */
label00003C92:
00003C92 7A26 moveq.l D5, 0x26
00003C94 603E bra +0x40 /* 00003CD4 */
label00003C96:
00003C96 7A27 moveq.l D5, 0x27
00003C98 603A bra +0x3C /* 00003CD4 */
label00003C9A:
00003C9A 7A28 moveq.l D5, 0x28
00003C9C 6036 bra +0x38 /* 00003CD4 */
label00003C9E:
00003C9E 7A29 moveq.l D5, 0x29
00003CA0 6032 bra +0x34 /* 00003CD4 */
label00003CA2:
00003CA2 7A2E moveq.l D5, 0x2E
00003CA4 602E bra +0x30 /* 00003CD4 */
label00003CA6:
00003CA6 7C09 moveq.l D6, 0x09
00003CA8 3D7C 0001 FFFE move.w [A6 - 0x2], 0x1
00003CAE 6024 bra +0x26 /* 00003CD4 */
label00003CB0:
00003CB0 7C0A moveq.l D6, 0x0A
00003CB2 3D7C 0001 FFFE move.w [A6 - 0x2], 0x1
00003CB8 601A bra +0x1C /* 00003CD4 */
label00003CBA:
00003CBA 7C05 moveq.l D6, 0x05
00003CBC 3D7C 0001 FFFE move.w [A6 - 0x2], 0x1
00003CC2 6010 bra +0x12 /* 00003CD4 */
label00003CC4:
00003CC4 7C07 moveq.l D6, 0x07
00003CC6 3D7C 0001 FFFE move.w [A6 - 0x2], 0x1
00003CCC 6006 bra +0x8 /* 00003CD4 */
label00003CCE:
00003CCE 7E1B moveq.l D7, 0x1B
00003CD0 6002 bra +0x4 /* 00003CD4 */
label00003CD2:
00003CD2 7E7F moveq.l D7, 0x7F
label00003CD4:
00003CD4 4A6E FFFC tst.w [A6 - 0x4]
00003CD8 6716 beq +0x18 /* 00003CF0 */
00003CDA 203C 0000 FF00 move.l D0, 0xFF00
00003CE0 C0AC 0002 and.l D0, [A4 + 0x2]
00003CE4 322D B350 move.w D1, [A5 - 0x4CB0]
00003CE8 48C1 ext.l D1
00003CEA B280 cmp.l D1, D0
00003CEC 6602 bne +0x4 /* 00003CF0 */
00003CEE 7A29 moveq.l D5, 0x29
label00003CF0:
00003CF0 4A85 tst.l D5
00003CF2 6728 beq +0x2A /* 00003D1C */
00003CF4 4AAE 000C tst.l [A6 + 0xC]
00003CF8 6706 beq +0x8 /* 00003D00 */
00003CFA 7029 moveq.l D0, 0x29
00003CFC B085 cmp.l D0, D5
00003CFE 6608 bne +0xA /* 00003D08 */
label00003D00:
00003D00 206E 0014 movea.l A0, [A6 + 0x14]
00003D04 4A90 tst.l [A0]
00003D06 6708 beq +0xA /* 00003D10 */
label00003D08:
00003D08 4EBA E660 jsr [PC - 0x19A0 /* 0000236A */]
00003D0C 6000 0218 bra +0x21A /* 00003F26 */
label00003D10:
00003D10 2F05 move.l -[A7], D5
00003D12 4EBA E68E jsr [PC - 0x1972 /* 000023A2 */]
00003D16 588F addq.l A7, 4
00003D18 6000 020C bra +0x20E /* 00003F26 */
label00003D1C:
00003D1C 4AAE 0010 tst.l [A6 + 0x10]
00003D20 6612 bne +0x14 /* 00003D34 */
00003D22 4A6D E5CC tst.w [A5 - 0x1A34]
00003D26 670C beq +0xE /* 00003D34 */
00003D28 206E 0014 movea.l A0, [A6 + 0x14]
00003D2C 7000 moveq.l D0, 0x00
00003D2E 2080 move.l [A0], D0
00003D30 6000 01F4 bra +0x1F6 /* 00003F26 */
label00003D34:
00003D34 0C47 0003 cmpi.w D7, 0x3
00003D38 6602 bne +0x4 /* 00003D3C */
00003D3A 7E0A moveq.l D7, 0x0A
label00003D3C:
00003D3C 7003 moveq.l D0, 0x03
00003D3E B054 cmp.w D0, [A4]
00003D40 6604 bne +0x6 /* 00003D46 */
00003D42 7000 moveq.l D0, 0x00
00003D44 6002 bra +0x4 /* 00003D48 */
label00003D46:
00003D46 7020 moveq.l D0, 0x20
label00003D48:
00003D48 3800 move.w D4, D0
00003D4A 4A6E FFFC tst.w [A6 - 0x4]
00003D4E 6704 beq +0x6 /* 00003D54 */
00003D50 0044 0001 ori.w D4, 0x1
label00003D54:
00003D54 303C 0200 move.w D0, 0x200
00003D58 C06C 000E and.w D0, [A4 + 0xE]
00003D5C 6704 beq +0x6 /* 00003D62 */
00003D5E 0044 0002 ori.w D4, 0x2
label00003D62:
00003D62 303C 0800 move.w D0, 0x800
00003D66 C06C 000E and.w D0, [A4 + 0xE]
00003D6A 6704 beq +0x6 /* 00003D70 */
00003D6C 0044 0080 ori.w D4, 0x80
label00003D70:
00003D70 4A46 tst.w D6
00003D72 6C00 0164 bge +0x166 /* 00003ED8 */
00003D76 3007 move.w D0, D7
00003D78 0440 001C subi.w D0, 0x1C
00003D7C 6B60 bmi +0x62 /* 00003DDE */
00003D7E 0C40 0003 cmpi.w D0, 0x3
00003D82 6E5A bgt +0x5C /* 00003DDE */
00003D84 D040 add.w D0, D0
00003D86 303B 0006 move.w D0, [PC + D0.w + 0x6]
00003D8A 4EFB 0000 jmp [PC + D0.w]
00003D8E 000A 001C ori.b A2, 0x1C
00003D92 002E 0040 7001 ori.b [A6 + 0x7001], 0x40 /* '@' */
00003D98 C044 and.w D0, D4
00003D9A 6704 beq +0x6 /* 00003DA0 */
00003D9C 7006 moveq.l D0, 0x06
00003D9E 6002 bra +0x4 /* 00003DA2 */
label00003DA0:
00003DA0 7002 moveq.l D0, 0x02
label00003DA2:
00003DA2 3C00 move.w D6, D0
00003DA4 6000 0132 bra +0x134 /* 00003ED8 */
00003DA8 7001 moveq.l D0, 0x01
00003DAA C044 and.w D0, D4
00003DAC 6704 beq +0x6 /* 00003DB2 */
00003DAE 7008 moveq.l D0, 0x08
00003DB0 6002 bra +0x4 /* 00003DB4 */
label00003DB2:
00003DB2 7004 moveq.l D0, 0x04
label00003DB4:
00003DB4 3C00 move.w D6, D0
00003DB6 6000 0120 bra +0x122 /* 00003ED8 */
00003DBA 7001 moveq.l D0, 0x01
00003DBC C044 and.w D0, D4
00003DBE 6704 beq +0x6 /* 00003DC4 */
00003DC0 7005 moveq.l D0, 0x05
00003DC2 6002 bra +0x4 /* 00003DC6 */
label00003DC4:
00003DC4 7001 moveq.l D0, 0x01
label00003DC6:
00003DC6 3C00 move.w D6, D0
00003DC8 6000 010E bra +0x110 /* 00003ED8 */
00003DCC 7001 moveq.l D0, 0x01
00003DCE C044 and.w D0, D4
00003DD0 6704 beq +0x6 /* 00003DD6 */
00003DD2 7007 moveq.l D0, 0x07
00003DD4 6002 bra +0x4 /* 00003DD8 */
label00003DD6:
00003DD6 7003 moveq.l D0, 0x03
label00003DD8:
00003DD8 3C00 move.w D6, D0
00003DDA 6000 00FC bra +0xFE /* 00003ED8 */
label00003DDE:
00003DDE 4A6E FFFC tst.w [A6 - 0x4]
00003DE2 6700 0082 beq +0x84 /* 00003E66 */
00003DE6 4AAD AFCA tst.l [A5 - 0x5036]
00003DEA 670C beq +0xE /* 00003DF8 */
00003DEC 206D AFCA movea.l A0, [A5 - 0x5036]
00003DF0 7001 moveq.l D0, 0x01
00003DF2 B068 018A cmp.w D0, [A0 + 0x18A]
00003DF6 676E beq +0x70 /* 00003E66 */
label00003DF8:
00003DF8 0C47 000D cmpi.w D7, 0xD /* '\r' */
00003DFC 6768 beq +0x6A /* 00003E66 */
00003DFE 0C47 000A cmpi.w D7, 0xA /* '\n' */
00003E02 6762 beq +0x64 /* 00003E66 */
00003E04 4AAD AFCA tst.l [A5 - 0x5036]
00003E08 670C beq +0xE /* 00003E16 */
00003E0A 206D AFCA movea.l A0, [A5 - 0x5036]
00003E0E 2668 013C movea.l A3, [A0 + 0x13C]
00003E12 200B move.l D0, A3
00003E14 6604 bne +0x6 /* 00003E1A */
label00003E16:
00003E16 47ED 25B2 lea.l A3, [A5 + 0x25B2 /* export_1202 */]
label00003E1A:
00003E1A 2F2D AFCA move.l -[A7], [A5 - 0x5036]
00003E1E 2F0B move.l -[A7], A3
00003E20 4EBA 0B30 jsr [PC + 0xB30 /* 00004952 */]
00003E24 598F subq.l A7, 4
00003E26 A924 syscall FrontWindow
00003E28 201F move.l D0, [A7]+
00003E2A B0AD E9E2 cmp.l D0, [A5 - 0x161E]
00003E2E 508F addq.l A7, 8
00003E30 6722 beq +0x24 /* 00003E54 */
00003E32 4EBA 0CBA jsr [PC + 0xCBA /* 00004AEE */]
00003E36 4A40 tst.w D0
00003E38 6710 beq +0x12 /* 00003E4A */
00003E3A 2F2D AFA4 move.l -[A7], [A5 - 0x505C]
00003E3E 486D 25A2 pea.l [A5 + 0x25A2 /* export_1200 */]
00003E42 4EBA 0B0E jsr [PC + 0xB0E /* 00004952 */]
00003E46 508F addq.l A7, 8
00003E48 600A bra +0xC /* 00003E54 */
label00003E4A:
00003E4A 486D 25AA pea.l [A5 + 0x25AA /* export_1201 */]
00003E4E 4EBA 0ADA jsr [PC + 0xADA /* 0000492A */]
00003E52 588F addq.l A7, 4
label00003E54:
00003E54 7001 moveq.l D0, 0x01
00003E56 2F00 move.l -[A7], D0
00003E58 598F subq.l A7, 4
00003E5A 3F07 move.w -[A7], D7
00003E5C A93E syscall MenuKey
00003E5E 4EBA 0502 jsr [PC + 0x502 /* 00004362 */]
00003E62 508F addq.l A7, 8
00003E64 6072 bra +0x74 /* 00003ED8 */
label00003E66:
00003E66 4AAD AFCA tst.l [A5 - 0x5036]
00003E6A 676C beq +0x6E /* 00003ED8 */
00003E6C 206D AFCA movea.l A0, [A5 - 0x5036]
00003E70 2668 0130 movea.l A3, [A0 + 0x130]
00003E74 200B move.l D0, A3
00003E76 6760 beq +0x62 /* 00003ED8 */
00003E78 7000 moveq.l D0, 0x00
00003E7A 1007 move.b D0, D7
00003E7C D040 add.w D0, D0
00003E7E 41ED A414 lea.l A0, [A5 - 0x5BEC]
00003E82 323C 4001 move.w D1, 0x4001
00003E86 C270 0000 and.w D1, [A0 + D0.w]
00003E8A 6624 bne +0x26 /* 00003EB0 */
00003E8C 0C47 0008 cmpi.w D7, 0x8
00003E90 671E beq +0x20 /* 00003EB0 */
00003E92 0C47 0009 cmpi.w D7, 0x9 /* '\t' */
00003E96 6718 beq +0x1A /* 00003EB0 */
00003E98 0C47 000A cmpi.w D7, 0xA /* '\n' */
00003E9C 6712 beq +0x14 /* 00003EB0 */
00003E9E 0C47 000D cmpi.w D7, 0xD /* '\r' */
00003EA2 670C beq +0xE /* 00003EB0 */
00003EA4 0C47 001B cmpi.w D7, 0x1B
00003EA8 6706 beq +0x8 /* 00003EB0 */
00003EAA 0C47 007F cmpi.w D7, 0x7F
00003EAE 6628 bne +0x2A /* 00003ED8 */
label00003EB0:
00003EB0 2F0B move.l -[A7], A3
00003EB2 4EBA 09F4 jsr [PC + 0x9F4 /* 000048A8 */]
00003EB6 4A40 tst.w D0
00003EB8 588F addq.l A7, 4
00003EBA 671C beq +0x1E /* 00003ED8 */
00003EBC A856 syscall ObscureCursor
00003EBE 7000 moveq.l D0, 0x00
00003EC0 3004 move.w D0, D4
00003EC2 2F00 move.l -[A7], D0
00003EC4 48C7 ext.l D7
00003EC6 2F07 move.l -[A7], D7
00003EC8 2F2D AFCA move.l -[A7], [A5 - 0x5036]
00003ECC 4E93 jsr [A3]
00003ECE 2F0B move.l -[A7], A3
00003ED0 4EBA 098A jsr [PC + 0x98A /* 0000485C */]
00003ED4 4FEF 0010 lea.l A7, [A7 + 0x10]
label00003ED8:
00003ED8 4A46 tst.w D6
00003EDA 6D4A blt +0x4C /* 00003F26 */
00003EDC 4AAD AFCA tst.l [A5 - 0x5036]
00003EE0 6744 beq +0x46 /* 00003F26 */
00003EE2 4A6E FFFE tst.w [A6 - 0x2]
00003EE6 670A beq +0xC /* 00003EF2 */
00003EE8 206D AFCA movea.l A0, [A5 - 0x5036]
00003EEC 2068 010C movea.l A0, [A0 + 0x10C]
00003EF0 6008 bra +0xA /* 00003EFA */
label00003EF2:
00003EF2 206D AFCA movea.l A0, [A5 - 0x5036]
00003EF6 2068 0134 movea.l A0, [A0 + 0x134]
label00003EFA:
00003EFA 2648 movea.l A3, A0
00003EFC 200B move.l D0, A3
00003EFE 6726 beq +0x28 /* 00003F26 */
00003F00 2F0B move.l -[A7], A3
00003F02 4EBA 09A4 jsr [PC + 0x9A4 /* 000048A8 */]
00003F06 4A40 tst.w D0
00003F08 588F addq.l A7, 4
00003F0A 671A beq +0x1C /* 00003F26 */
00003F0C 7000 moveq.l D0, 0x00
00003F0E 3004 move.w D0, D4
00003F10 2F00 move.l -[A7], D0
00003F12 48C6 ext.l D6
00003F14 2F06 move.l -[A7], D6
00003F16 2F2D AFCA move.l -[A7], [A5 - 0x5036]
00003F1A 4E93 jsr [A3]
00003F1C 2F0B move.l -[A7], A3
00003F1E 4EBA 093C jsr [PC + 0x93C /* 0000485C */]
00003F22 4FEF 0010 lea.l A7, [A7 + 0x10]
label00003F26:
00003F26 4CEE 18F0 FFE4 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x1C]
00003F2C 4E5E unlink A6
00003F2E 4E75 rts
fn00003F30:
00003F30 48E7 0018 movem.l -[A7], A3,A4
00003F34 286F 000C movea.l A4, [A7 + 0xC]
00003F38 526D AFA2 addq.w [A5 - 0x505E], 1
00003F3C 266C 0002 movea.l A3, [A4 + 0x2]
00003F40 206D B352 movea.l A0, [A5 - 0x4CAE]
00003F44 2050 movea.l A0, [A0]
00003F46 4AA8 0002 tst.l [A0 + 0x2]
00003F4A 6742 beq +0x44 /* 00003F8E */
00003F4C 200B move.l D0, A3
00003F4E 673E beq +0x40 /* 00003F8E */
00003F50 206D B352 movea.l A0, [A5 - 0x4CAE]
00003F54 2050 movea.l A0, [A0]
00003F56 B7E8 0002 cmpa.l A3, [A0 + 0x2]
00003F5A 670E beq +0x10 /* 00003F6A */
00003F5C 302B 006C move.w D0, [A3 + 0x6C]
00003F60 48C0 ext.l D0
00003F62 0C80 0000 6590 cmpi.l D0, 0x6590
00003F68 6624 bne +0x26 /* 00003F8E */
label00003F6A:
00003F6A 486D 270A pea.l [A5 + 0x270A /* export_1245 */]
00003F6E 4EBA 0938 jsr [PC + 0x938 /* 000048A8 */]
00003F72 4A40 tst.w D0
00003F74 588F addq.l A7, 4
00003F76 671E beq +0x20 /* 00003F96 */
00003F78 2F2D B352 move.l -[A7], [A5 - 0x4CAE]
00003F7C 2F0C move.l -[A7], A4
00003F7E 4EAD 270A jsr [A5 + 0x270A /* export_1245 */]
00003F82 486D 270A pea.l [A5 + 0x270A /* export_1245 */]
00003F86 4EBA 08D4 jsr [PC + 0x8D4 /* 0000485C */]
00003F8A 588F addq.l A7, 4
00003F8C 6008 bra +0xA /* 00003F96 */
label00003F8E:
00003F8E 2F0B move.l -[A7], A3
00003F90 4EBA 000E jsr [PC + 0xE /* 00003FA0 */]
00003F94 588F addq.l A7, 4
label00003F96:
00003F96 536D AFA2 subq.w [A5 - 0x505E], 1
00003F9A 4CDF 1800 movem.l A3,A4, [A7]+
00003F9E 4E75 rts
export_54:
fn00003FA0:
00003FA0 4E56 FFF8 link A6, -0x0008
00003FA4 48E7 0018 movem.l -[A7], A3,A4
00003FA8 286E 0008 movea.l A4, [A6 + 0x8]
00003FAC 2F0C move.l -[A7], A4
00003FAE A922 syscall BeginUpdate
00003FB0 558F subq.l A7, 2
00003FB2 2F2C 0018 move.l -[A7], [A4 + 0x18]
00003FB6 A8E2 syscall EmptyRgn
00003FB8 4A1F tst.b [A7]+
00003FBA 6600 00B6 bne +0xB8 /* 00004072 */
00003FBE 4EAD 09CA jsr [A5 + 0x9CA /* export_309 */]
00003FC2 266D E9E2 movea.l A3, [A5 - 0x161E]
00003FC6 6004 bra +0x6 /* 00003FCC */
label00003FC8:
00003FC8 266B 0164 movea.l A3, [A3 + 0x164]
label00003FCC:
00003FCC 200B move.l D0, A3
00003FCE 6704 beq +0x6 /* 00003FD4 */
00003FD0 B7CC cmpa.l A3, A4
00003FD2 66F4 bne -0xA /* 00003FC8 */
label00003FD4:
00003FD4 200B move.l D0, A3
00003FD6 6700 0096 beq +0x98 /* 0000406E */
00003FDA 206C 0018 movea.l A0, [A4 + 0x18]
00003FDE 2050 movea.l A0, [A0]
00003FE0 3D68 0004 FFFA move.w [A6 - 0x6], [A0 + 0x4]
00003FE6 206C 0018 movea.l A0, [A4 + 0x18]
00003FEA 2050 movea.l A0, [A0]
00003FEC 3D68 0002 FFF8 move.w [A6 - 0x8], [A0 + 0x2]
00003FF2 206C 0018 movea.l A0, [A4 + 0x18]
00003FF6 2050 movea.l A0, [A0]
00003FF8 3028 0008 move.w D0, [A0 + 0x8]
00003FFC 5340 subq.w D0, 1
00003FFE 3D40 FFFE move.w [A6 - 0x2], D0
00004002 206C 0018 movea.l A0, [A4 + 0x18]
00004006 2050 movea.l A0, [A0]
00004008 3028 0006 move.w D0, [A0 + 0x6]
0000400C 5340 subq.w D0, 1
0000400E 3D40 FFFC move.w [A6 - 0x4], D0
00004012 2F0C move.l -[A7], A4
00004014 4EAD 076A jsr [A5 + 0x76A /* export_233 */]
00004018 4A6C 0188 tst.w [A4 + 0x188]
0000401C 588F addq.l A7, 4
0000401E 661E bne +0x20 /* 0000403E */
00004020 302E FFFE move.w D0, [A6 - 0x2]
00004024 B06C 0172 cmp.w D0, [A4 + 0x172]
00004028 6C0A bge +0xC /* 00004034 */
0000402A 302E FFFC move.w D0, [A6 - 0x4]
0000402E B06C 0174 cmp.w D0, [A4 + 0x174]
00004032 6D10 blt +0x12 /* 00004044 */
label00004034:
00004034 2F0C move.l -[A7], A4
00004036 4EAD 0B4A jsr [A5 + 0xB4A /* export_357 */]
0000403A 588F addq.l A7, 4
0000403C 6006 bra +0x8 /* 00004044 */
label0000403E:
0000403E 486C 0010 pea.l [A4 + 0x10]
00004042 A87B syscall ClipRect
label00004044:
00004044 266C 0108 movea.l A3, [A4 + 0x108]
00004048 200B move.l D0, A3
0000404A 6722 beq +0x24 /* 0000406E */
0000404C 2F0B move.l -[A7], A3
0000404E 4EBA 0858 jsr [PC + 0x858 /* 000048A8 */]
00004052 4A40 tst.w D0
00004054 588F addq.l A7, 4
00004056 6716 beq +0x18 /* 0000406E */
00004058 41EE 0000 lea.l A0, [A6 + 0x0]
0000405C 2F20 move.l -[A7], -[A0]
0000405E 2F20 move.l -[A7], -[A0]
00004060 2F0C move.l -[A7], A4
00004062 4E93 jsr [A3]
00004064 2F0B move.l -[A7], A3
00004066 4EBA 07F4 jsr [PC + 0x7F4 /* 0000485C */]
0000406A 4FEF 0010 lea.l A7, [A7 + 0x10]
label0000406E:
0000406E 4EAD 09DA jsr [A5 + 0x9DA /* export_311 */]
label00004072:
00004072 2F0C move.l -[A7], A4
00004074 A923 syscall EndUpdate
00004076 4CEE 1800 FFF0 movem.l A3,A4, [A6 - 0x10]
0000407C 4E5E unlink A6
0000407E 4E75 rts
export_55:
fn00004080:
00004080 4E56 0000 link A6, 0
00004084 48E7 0110 movem.l -[A7], D7,A3
00004088 266E 0008 movea.l A3, [A6 + 0x8]
0000408C 558F subq.l A7, 2
0000408E A994 syscall CurResFile
00004090 3E1F move.w D7, [A7]+
00004092 3F2D AFD4 move.w -[A7], [A5 - 0x502C]
00004096 A998 syscall UseResFile
00004098 4213 clr.b [A3]
0000409A 2F0B move.l -[A7], A3
0000409C 3F2E 000E move.w -[A7], [A6 + 0xE]
000040A0 3F2E 0012 move.w -[A7], [A6 + 0x12]
000040A4 4EBA 2C40 jsr [PC + 0x2C40 /* 00006CE6 */]
000040A8 3F07 move.w -[A7], D7
000040AA A998 syscall UseResFile
000040AC 4CEE 0880 FFF8 movem.l D7,A3, [A6 - 0x8]
000040B2 4E5E unlink A6
000040B4 4E75 rts
export_56:
fn000040B6:
000040B6 4E56 0000 link A6, 0
000040BA 2F0B move.l -[A7], A3
000040BC 266E 0008 movea.l A3, [A6 + 0x8]
000040C0 302E 000E move.w D0, [A6 + 0xE]
000040C4 48C0 ext.l D0
000040C6 2F00 move.l -[A7], D0
000040C8 4878 0100 push.l 0x100
000040CC 2F0B move.l -[A7], A3
000040CE 4EBA FFB0 jsr [PC - 0x50 /* 00004080 */]
000040D2 266E FFFC movea.l A3, [A6 - 0x4]
000040D6 4E5E unlink A6
000040D8 4E75 rts
export_57:
000040DA 4E56 FFFC link A6, -0x0004
000040DE 48E7 0318 movem.l -[A7], D6,D7,A3,A4
000040E2 286E 0008 movea.l A4, [A6 + 0x8]
000040E6 7002 moveq.l D0, 0x02
000040E8 B06C 0008 cmp.w D0, [A4 + 0x8]
000040EC 57C6 seq D6
000040EE 0246 0001 andi.w D6, 0x1
000040F2 677C beq +0x7E /* 00004170 */
000040F4 7000 moveq.l D0, 0x00
000040F6 2640 movea.l A3, D0
000040F8 4A6D AFAE tst.w [A5 - 0x5052]
000040FC 664E bne +0x50 /* 0000414C */
000040FE 206D E9DE movea.l A0, [A5 - 0x1622]
00004102 4A68 00E4 tst.w [A0 + 0xE4]
00004106 6744 beq +0x46 /* 0000414C */
00004108 7004 moveq.l D0, 0x04
0000410A B06D AFAC cmp.w D0, [A5 - 0x5054]
0000410E 663C bne +0x3E /* 0000414C */
00004110 598F subq.l A7, 4
00004112 4EBA 2A1C jsr [PC + 0x2A1C /* 00006B30 */]
00004116 2E1F move.l D7, [A7]+
00004118 0C87 0000 0200 cmpi.l D7, 0x200
0000411E 6F2C ble +0x2E /* 0000414C */
00004120 598F subq.l A7, 4
00004122 2F07 move.l -[A7], D7
00004124 4EBA 2364 jsr [PC + 0x2364 /* 0000648A */]
00004128 265F movea.l A3, [A7]+
0000412A 200B move.l D0, A3
0000412C 671E beq +0x20 /* 0000414C */
0000412E 598F subq.l A7, 4
00004130 4EBA 20D6 jsr [PC + 0x20D6 /* 00006208 */]
00004134 2D5F FFFC move.l [A6 - 0x4], [A7]+
00004138 7000 moveq.l D0, 0x00
0000413A 2F00 move.l -[A7], D0
0000413C 7220 moveq.l D1, 0x20
0000413E 3F01 move.w -[A7], D1
00004140 240B move.l D2, A3
00004142 D487 add.l D2, D7
00004144 2F02 move.l -[A7], D2
00004146 2F0B move.l -[A7], A3
00004148 4EBA 20B0 jsr [PC + 0x20B0 /* 000061FA */]
label0000414C:
0000414C 41EE 0014 lea.l A0, [A6 + 0x14]
00004150 2F20 move.l -[A7], -[A0]
00004152 2F20 move.l -[A7], -[A0]
00004154 2F0C move.l -[A7], A4
00004156 4EAD 0992 jsr [A5 + 0x992 /* export_302 */]
0000415A 200B move.l D0, A3
0000415C 4FEF 000C lea.l A7, [A7 + 0xC]
00004160 670E beq +0x10 /* 00004170 */
00004162 2F2E FFFC move.l -[A7], [A6 - 0x4]
00004166 4EBA 20AA jsr [PC + 0x20AA /* 00006212 */]
0000416A 2F0B move.l -[A7], A3
0000416C 4EBA 2334 jsr [PC + 0x2334 /* 000064A2 */]
label00004170:
00004170 3006 move.w D0, D6
00004172 4CEE 18C0 FFEC movem.l D6,D7,A3,A4, [A6 - 0x14]
00004178 4E5E unlink A6
0000417A 4E75 rts
fn0000417C:
0000417C 4E56 FFFA link A6, -0x0006
00004180 48E7 0110 movem.l -[A7], D7,A3
00004184 558F subq.l A7, 2
00004186 A994 syscall CurResFile
00004188 3B5F AFD4 move.w [A5 - 0x502C], [A7]+
0000418C 486D 2EEA pea.l [A5 + 0x2EEA /* export_1497 */]
00004190 A9F1 syscall UnloadSeg
00004192 41EE FFFA lea.l A0, [A6 - 0x6]
00004196 91FC 0000 4000 sub.l A0, 0x4000 /* '@\0' */
0000419C 2F08 move.l -[A7], A0
0000419E 4EBA 20C2 jsr [PC + 0x20C2 /* 00006262 */]
000041A2 A063 syscall MaxApplZone
000041A4 558F subq.l A7, 2
000041A6 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
000041AA 4A5F tst.w [A7]+
000041AC 6614 bne +0x16 /* 000041C2 */
000041AE 598F subq.l A7, 4
000041B0 4EBA 297E jsr [PC + 0x297E /* 00006B30 */]
000041B4 2D5F FFFC move.l [A6 - 0x4], [A7]+
000041B8 0CAE 0000 3E80 FFFC cmpi.l [A6 - 0x4], 0x3E80
000041C0 6C06 bge +0x8 /* 000041C8 */
label000041C2:
000041C2 7000 moveq.l D0, 0x00
000041C4 6000 0192 bra +0x194 /* 00004358 */
label000041C8:
000041C8 0CAE 0009 B078 FFFC cmpi.l [A6 - 0x4], 0x9B078
000041D0 6C14 bge +0x16 /* 000041E6 */
000041D2 7001 moveq.l D0, 0x01
000041D4 2F00 move.l -[A7], D0
000041D6 7237 moveq.l D1, 0x37
000041D8 2F01 move.l -[A7], D1
000041DA 4EAD 234A jsr [A5 + 0x234A /* export_1125 */]
000041DE 7000 moveq.l D0, 0x00
000041E0 508F addq.l A7, 8
000041E2 6000 0174 bra +0x176 /* 00004358 */
label000041E6:
000041E6 598F subq.l A7, 4
000041E8 4EBA 201E jsr [PC + 0x201E /* 00006208 */]
000041EC 265F movea.l A3, [A7]+
000041EE 3E2B 0014 move.w D7, [A3 + 0x14]
000041F2 377C 0580 0014 move.w [A3 + 0x14], 0x580
000041F8 A036 syscall MoreMasters
000041FA 3747 0014 move.w [A3 + 0x14], D7
000041FE 4EAD 09EA jsr [A5 + 0x9EA /* export_313 */]
00004202 4EAD 0BBA jsr [A5 + 0xBBA /* export_371 */]
00004206 4EAD 0CC2 jsr [A5 + 0xCC2 /* export_404 */]
0000420A 4EAD 0F8A jsr [A5 + 0xF8A /* export_493 */]
0000420E 4EAD 10E2 jsr [A5 + 0x10E2 /* export_536 */]
00004212 4EAD 14A2 jsr [A5 + 0x14A2 /* export_656 */]
00004216 4EAD 1562 jsr [A5 + 0x1562 /* export_680 */]
0000421A 4EAD 16A2 jsr [A5 + 0x16A2 /* export_720 */]
0000421E 4EAD 17BA jsr [A5 + 0x17BA /* export_755 */]
00004222 4EAD 1872 jsr [A5 + 0x1872 /* export_778 */]
00004226 4EAD 19C2 jsr [A5 + 0x19C2 /* export_820 */]
0000422A 4EAD 1BFA jsr [A5 + 0x1BFA /* export_891 */]
0000422E 4EAD 1C2A jsr [A5 + 0x1C2A /* export_897 */]
00004232 4EAD 1E7A jsr [A5 + 0x1E7A /* export_971 */]
00004236 4EAD 1F7A jsr [A5 + 0x1F7A /* export_1003 */]
0000423A 4EAD 2062 jsr [A5 + 0x2062 /* export_1032 */]
0000423E 4EAD 221A jsr [A5 + 0x221A /* export_1087 */]
00004242 4EAD 2222 jsr [A5 + 0x2222 /* export_1088 */]
00004246 598F subq.l A7, 4
00004248 486E FFFC pea.l [A6 - 0x4]
0000424C 4EBA 1FFA jsr [PC + 0x1FFA /* 00006248 */]
00004250 201F move.l D0, [A7]+
00004252 90BC 0006 1A80 sub.l D0, 0x61A80
00004258 2B40 AF5E move.l [A5 - 0x50A2], D0
0000425C 6F16 ble +0x18 /* 00004274 */
0000425E 202D AF5E move.l D0, [A5 - 0x50A2]
00004262 E680 asr D0, 3
00004264 222D AF5E move.l D1, [A5 - 0x50A2]
00004268 E881 asr D1, 4
0000426A D280 add.l D1, D0
0000426C 70FC moveq.l D0, 0xFFFFFFFC
0000426E C081 and.l D0, D1
00004270 2B40 AF5E move.l [A5 - 0x50A2], D0
label00004274:
00004274 0CAD 0001 E848 AF5E cmpi.l [A5 - 0x50A2], 0x1E848
0000427C 6C0A bge +0xC /* 00004288 */
0000427E 2B7C 0001 E848 AF5E move.l [A5 - 0x50A2], 0x1E848
00004286 6012 bra +0x14 /* 0000429A */
label00004288:
00004288 0CAD 0003 F7A0 AF5E cmpi.l [A5 - 0x50A2], 0x3F7A0
00004290 6F08 ble +0xA /* 0000429A */
00004292 2B7C 0003 F7A0 AF5E move.l [A5 - 0x50A2], 0x3F7A0
label0000429A:
0000429A 598F subq.l A7, 4
0000429C 2F2D AF5E move.l -[A7], [A5 - 0x50A2]
000042A0 4EBA 21E8 jsr [PC + 0x21E8 /* 0000648A */]
000042A4 2B5F AF42 move.l [A5 - 0x50BE], [A7]+
000042A8 6606 bne +0x8 /* 000042B0 */
000042AA 7000 moveq.l D0, 0x00
000042AC 6000 00AA bra +0xAC /* 00004358 */
label000042B0:
000042B0 486D 0172 pea.l [A5 + 0x172 /* export_42 */]
000042B4 7020 moveq.l D0, 0x20
000042B6 3F00 move.w -[A7], D0
000042B8 222D AF5E move.l D1, [A5 - 0x50A2]
000042BC D2AD AF42 add.l D1, [A5 - 0x50BE]
000042C0 2F01 move.l -[A7], D1
000042C2 2F2D AF42 move.l -[A7], [A5 - 0x50BE]
000042C6 4EBA 1F32 jsr [PC + 0x1F32 /* 000061FA */]
000042CA 598F subq.l A7, 4
000042CC 2EB8 02AA move.l [A7], [0x000002AA /* ApplZone */]
000042D0 2B5F AF3E move.l [A5 - 0x50C2], [A7]+
000042D4 2F2D AF3E move.l -[A7], [A5 - 0x50C2]
000042D8 4EBA 1F38 jsr [PC + 0x1F38 /* 00006212 */]
000042DC 486D 0172 pea.l [A5 + 0x172 /* export_42 */]
000042E0 4EBA 1F76 jsr [PC + 0x1F76 /* 00006258 */]
000042E4 7001 moveq.l D0, 0x01
000042E6 2F00 move.l -[A7], D0
000042E8 4EBA C12A jsr [PC - 0x3ED6 /* 00000414 */]
000042EC 4A80 tst.l D0
000042EE 588F addq.l A7, 4
000042F0 672E beq +0x30 /* 00004320 */
000042F2 4EAD 2342 jsr [A5 + 0x2342 /* export_1124 */]
000042F6 4A40 tst.w D0
000042F8 6726 beq +0x28 /* 00004320 */
000042FA 486D 2342 pea.l [A5 + 0x2342 /* export_1124 */]
000042FE A9F1 syscall UnloadSeg
00004300 598F subq.l A7, 4
00004302 486E FFFC pea.l [A6 - 0x4]
00004306 4EBA 1F40 jsr [PC + 0x1F40 /* 00006248 */]
0000430A 70FF moveq.l D0, 0xFFFFFFFF
0000430C 2F00 move.l -[A7], D0
0000430E 7200 moveq.l D1, 0x00
00004310 2F01 move.l -[A7], D1
00004312 486D AFCE pea.l [A5 - 0x5032]
00004316 2F01 move.l -[A7], D1
00004318 4EBA E0D8 jsr [PC - 0x1F28 /* 000023F2 */]
0000431C 4FEF 0014 lea.l A7, [A7 + 0x14]
label00004320:
00004320 4A6D AF58 tst.w [A5 - 0x50A8]
00004324 6714 beq +0x16 /* 0000433A */
00004326 558F subq.l A7, 2
00004328 486D AF4A pea.l [A5 - 0x50B6]
0000432C 4EBA 222E jsr [PC + 0x222E /* 0000655C */]
00004330 486D 026A pea.l [A5 + 0x26A /* export_73 */]
00004334 4EBA 05F4 jsr [PC + 0x5F4 /* 0000492A */]
00004338 5C8F addq.l A7, 6
label0000433A:
0000433A 486D 277A pea.l [A5 + 0x277A /* export_1259 */]
0000433E 4EBA 0568 jsr [PC + 0x568 /* 000048A8 */]
00004342 4A40 tst.w D0
00004344 588F addq.l A7, 4
00004346 670E beq +0x10 /* 00004356 */
00004348 4EAD 277A jsr [A5 + 0x277A /* export_1259 */]
0000434C 486D 277A pea.l [A5 + 0x277A /* export_1259 */]
00004350 4EBA 050A jsr [PC + 0x50A /* 0000485C */]
00004354 588F addq.l A7, 4
label00004356:
00004356 7000 moveq.l D0, 0x00
label00004358:
00004358 4CEE 0880 FFF2 movem.l D7,A3, [A6 - 0xE]
0000435E 4E5E unlink A6
00004360 4E75 rts
fn00004362:
00004362 4E56 FEF0 link A6, -0x0110
00004366 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
0000436A 7010 moveq.l D0, 0x10
0000436C 282E 0008 move.l D4, [A6 + 0x8]
00004370 E0A4 asr D4, D0
00004372 4A44 tst.w D4
00004374 6700 0266 beq +0x268 /* 000045DC */
00004378 2A3C 0000 FFFF move.l D5, 0xFFFF
0000437E CAAE 0008 and.l D5, [A6 + 0x8]
00004382 3004 move.w D0, D4
00004384 0440 BF96 subi.w D0, 0xBF96
00004388 670A beq +0xC /* 00004394 */
0000438A 0440 406B subi.w D0, 0x406B /* '@k' */
0000438E 6706 beq +0x8 /* 00004396 */
00004390 6000 0088 bra +0x8A /* 0000441A */
label00004394:
00004394 7A02 moveq.l D5, 0x02
label00004396:
00004396 3005 move.w D0, D5
00004398 5340 subq.w D0, 1
0000439A 6B44 bmi +0x46 /* 000043E0 */
0000439C 0C40 0001 cmpi.w D0, 0x1
000043A0 6E3E bgt +0x40 /* 000043E0 */
000043A2 D040 add.w D0, D0
000043A4 303B 0006 move.w D0, [PC + D0.w + 0x6]
000043A8 4EFB 0000 jmp [PC + D0.w]
000043AC 0006 0028 ori.b D6, 0x28 /* '(' */
000043B0 486D 276A pea.l [A5 + 0x276A /* export_1257 */]
000043B4 4EBA 04F2 jsr [PC + 0x4F2 /* 000048A8 */]
000043B8 4A40 tst.w D0
000043BA 588F addq.l A7, 4
000043BC 6700 0228 beq +0x22A /* 000045E6 */
000043C0 4EAD 276A jsr [A5 + 0x276A /* export_1257 */]
000043C4 486D 276A pea.l [A5 + 0x276A /* export_1257 */]
000043C8 4EBA 0492 jsr [PC + 0x492 /* 0000485C */]
000043CC 588F addq.l A7, 4
000043CE 6000 0216 bra +0x218 /* 000045E6 */
000043D2 486D 26D2 pea.l [A5 + 0x26D2 /* export_1238 */]
000043D6 4EBA 0552 jsr [PC + 0x552 /* 0000492A */]
000043DA 588F addq.l A7, 4
000043DC 6000 0208 bra +0x20A /* 000045E6 */
label000043E0:
000043E0 7001 moveq.l D0, 0x01
000043E2 2F00 move.l -[A7], D0
000043E4 486D 2352 pea.l [A5 + 0x2352 /* export_1126 */]
000043E8 4EBA 0568 jsr [PC + 0x568 /* 00004952 */]
000043EC 4A6D EA4A tst.w [A5 - 0x15B6]
000043F0 508F addq.l A7, 8
000043F2 6708 beq +0xA /* 000043FC */
000043F4 426D EA4A clr.w [A5 - 0x15B6]
000043F8 4EBA DF70 jsr [PC - 0x2090 /* 0000236A */]
label000043FC:
000043FC 206D B20A movea.l A0, [A5 - 0x4DF6]
00004400 2F28 0004 move.l -[A7], [A0 + 0x4]
00004404 3F05 move.w -[A7], D5
00004406 486E FEFA pea.l [A6 - 0x106]
0000440A A946 syscall GetMenuItemText/GetItem
0000440C 558F subq.l A7, 2
0000440E 486E FEFA pea.l [A6 - 0x106]
00004412 A9B6 syscall OpenDeskAcc
00004414 548F addq.l A7, 2
00004416 6000 01CE bra +0x1D0 /* 000045E6 */
label0000441A:
0000441A 0C44 0004 cmpi.w D4, 0x4
0000441E 6750 beq +0x52 /* 00004470 */
00004420 206D AFA4 movea.l A0, [A5 - 0x505C]
00004424 2050 movea.l A0, [A0]
00004426 3004 move.w D0, D4
00004428 5B40 subq.w D0, 5
0000442A 48C0 ext.l D0
0000442C 2200 move.l D1, D0
0000442E C0FC 0016 mulu.w D0, 0x16
00004432 4841 swap.w D1
00004434 C2FC 0016 mulu.w D1, 0x16
00004438 4841 swap.w D1
0000443A 4241 clr.w D1
0000443C D081 add.l D0, D1
0000443E 47F0 0800 lea.l A3, [A0 + D0]
00004442 598F subq.l A7, 4
00004444 2053 movea.l A0, [A3]
00004446 2050 movea.l A0, [A0]
00004448 3005 move.w D0, D5
0000444A 5340 subq.w D0, 1
0000444C 48C0 ext.l D0
0000444E 2200 move.l D1, D0
00004450 C0FC 0006 mulu.w D0, 0x6
00004454 4841 swap.w D1
00004456 C2FC 0006 mulu.w D1, 0x6
0000445A 4841 swap.w D1
0000445C 4241 clr.w D1
0000445E D081 add.l D0, D1
00004460 4870 0800 pea.l [A0 + D0]
00004464 4EBA 2E64 jsr [PC + 0x2E64 /* 000072CA */]
00004468 2D5F FEF6 move.l [A6 - 0x10A], [A7]+
0000446C 6000 00E8 bra +0xEA /* 00004556 */
label00004470:
00004470 206D AFA4 movea.l A0, [A5 - 0x505C]
00004474 7000 moveq.l D0, 0x00
00004476 1028 0012 move.b D0, [A0 + 0x12]
0000447A 3C00 move.w D6, D0
0000447C 206D B20A movea.l A0, [A5 - 0x4DF6]
00004480 2868 0010 movea.l A4, [A0 + 0x10]
00004484 7E05 moveq.l D7, 0x05
00004486 6036 bra +0x38 /* 000044BE */
label00004488:
00004488 206D B20A movea.l A0, [A5 - 0x4DF6]
0000448C 48C7 ext.l D7
0000448E 2007 move.l D0, D7
00004490 E580 asl D0, 2
00004492 B9F0 0800 cmpa.l A4, [A0 + D0]
00004496 6624 bne +0x26 /* 000044BC */
00004498 206D AFA4 movea.l A0, [A5 - 0x505C]
0000449C 2050 movea.l A0, [A0]
0000449E 3007 move.w D0, D7
000044A0 5B40 subq.w D0, 5
000044A2 48C0 ext.l D0
000044A4 2200 move.l D1, D0
000044A6 C0FC 0016 mulu.w D0, 0x16
000044AA 4841 swap.w D1
000044AC C2FC 0016 mulu.w D1, 0x16
000044B0 4841 swap.w D1
000044B2 4241 clr.w D1
000044B4 D081 add.l D0, D1
000044B6 47F0 0800 lea.l A3, [A0 + D0]
000044BA 6006 bra +0x8 /* 000044C2 */
label000044BC:
000044BC 5247 addq.w D7, 1
label000044BE:
000044BE BC47 cmp.w D6, D7
000044C0 6EC6 bgt -0x38 /* 00004488 */
label000044C2:
000044C2 558F subq.l A7, 2
000044C4 3F05 move.w -[A7], D5
000044C6 4EAD 1C4A jsr [A5 + 0x1C4A /* export_901 */]
000044CA 3E1F move.w D7, [A7]+
000044CC 486E FEF0 pea.l [A6 - 0x110]
000044D0 3F07 move.w -[A7], D7
000044D2 4EAD 1C42 jsr [A5 + 0x1C42 /* export_900 */]
000044D6 7000 moveq.l D0, 0x00
000044D8 302E FEF0 move.w D0, [A6 - 0x110]
000044DC E088 lsr D0, 8
000044DE 7200 moveq.l D1, 0x00
000044E0 322E FEF2 move.w D1, [A6 - 0x10E]
000044E4 E089 lsr D1, 8
000044E6 E189 lsl D1, 8
000044E8 D280 add.l D1, D0
000044EA 7000 moveq.l D0, 0x00
000044EC 302E FEF4 move.w D0, [A6 - 0x10C]
000044F0 E088 lsr D0, 8
000044F2 7410 moveq.l D2, 0x10
000044F4 E5A8 lsl D0, D2
000044F6 2C00 move.l D6, D0
000044F8 DC81 add.l D6, D1
000044FA 2F06 move.l -[A7], D6
000044FC 486D B1FC pea.l [A5 - 0x4E04]
00004500 41EE FEFA lea.l A0, [A6 - 0x106]
00004504 5288 addq.l A0, 1
00004506 2F08 move.l -[A7], A0
00004508 4EAD 0EE2 jsr [A5 + 0xEE2 /* export_472 */]
0000450C 1D40 FEFA move.b [A6 - 0x106], D0
00004510 41EE FFFA lea.l A0, [A6 - 0x6]
00004514 2D48 FEF6 move.l [A6 - 0x10A], A0
00004518 30BC 0001 move.w [A0], 0x1
0000451C 206E FEF6 movea.l A0, [A6 - 0x10A]
00004520 317C 8000 0002 move.w [A0 + 0x2], 0x8000
00004526 206E FEF6 movea.l A0, [A6 - 0x10A]
0000452A 4228 0004 clr.b [A0 + 0x4]
0000452E 7A01 moveq.l D5, 0x01
00004530 7000 moveq.l D0, 0x00
00004532 102E FEFA move.b D0, [A6 - 0x106]
00004536 2F00 move.l -[A7], D0
00004538 41EE FEFA lea.l A0, [A6 - 0x106]
0000453C 5288 addq.l A0, 1
0000453E 2F08 move.l -[A7], A0
00004540 7001 moveq.l D0, 0x01
00004542 2F00 move.l -[A7], D0
00004544 2F2B 0004 move.l -[A7], [A3 + 0x4]
00004548 4EAD 0D6A jsr [A5 + 0xD6A /* export_425 */]
0000454C 4A40 tst.w D0
0000454E 4FEF 001C lea.l A7, [A7 + 0x1C]
00004552 6600 0092 bne +0x94 /* 000045E6 */
label00004556:
00004556 206E FEF6 movea.l A0, [A6 - 0x10A]
0000455A 3010 move.w D0, [A0]
0000455C 5140 subq.w D0, 8
0000455E 6716 beq +0x18 /* 00004576 */
00004560 5340 subq.w D0, 1
00004562 671E beq +0x20 /* 00004582 */
00004564 0440 00A7 subi.w D0, 0xA7
00004568 6710 beq +0x12 /* 0000457A */
0000456A 0440 001C subi.w D0, 0x1C
0000456E 670E beq +0x10 /* 0000457E */
00004570 5740 subq.w D0, 3
00004572 6712 beq +0x14 /* 00004586 */
00004574 6014 bra +0x16 /* 0000458A */
label00004576:
00004576 4244 clr.w D4
00004578 6012 bra +0x14 /* 0000458C */
label0000457A:
0000457A 7802 moveq.l D4, 0x02
0000457C 600E bra +0x10 /* 0000458C */
label0000457E:
0000457E 7803 moveq.l D4, 0x03
00004580 600A bra +0xC /* 0000458C */
label00004582:
00004582 7804 moveq.l D4, 0x04
00004584 6006 bra +0x8 /* 0000458C */
label00004586:
00004586 7805 moveq.l D4, 0x05
00004588 6002 bra +0x4 /* 0000458C */
label0000458A:
0000458A 78FF moveq.l D4, 0xFFFFFFFF
label0000458C:
0000458C 4A44 tst.w D4
0000458E 6D0A blt +0xC /* 0000459A */
00004590 558F subq.l A7, 2
00004592 3F04 move.w -[A7], D4
00004594 A9C2 syscall SysEdit
00004596 4A1F tst.b [A7]+
00004598 664C bne +0x4E /* 000045E6 */
label0000459A:
0000459A 4AAD AFCA tst.l [A5 - 0x5036]
0000459E 670C beq +0xE /* 000045AC */
000045A0 206D AFCA movea.l A0, [A5 - 0x5036]
000045A4 2868 0138 movea.l A4, [A0 + 0x138]
000045A8 200C move.l D0, A4
000045AA 6604 bne +0x6 /* 000045B0 */
label000045AC:
000045AC 49ED 100A lea.l A4, [A5 + 0x100A /* export_509 */]
label000045B0:
000045B0 2F0C move.l -[A7], A4
000045B2 4EBA 02F4 jsr [PC + 0x2F4 /* 000048A8 */]
000045B6 4A40 tst.w D0
000045B8 588F addq.l A7, 4
000045BA 672A beq +0x2C /* 000045E6 */
000045BC 48C5 ext.l D5
000045BE 2005 move.l D0, D5
000045C0 5380 subq.l D0, 1
000045C2 2F00 move.l -[A7], D0
000045C4 2F2E FEF6 move.l -[A7], [A6 - 0x10A]
000045C8 2F0B move.l -[A7], A3
000045CA 2F2D AFCA move.l -[A7], [A5 - 0x5036]
000045CE 4E94 jsr [A4]
000045D0 2F0C move.l -[A7], A4
000045D2 4EBA 0288 jsr [PC + 0x288 /* 0000485C */]
000045D6 4FEF 0014 lea.l A7, [A7 + 0x14]
000045DA 600A bra +0xC /* 000045E6 */
label000045DC:
000045DC 4A6E 000E tst.w [A6 + 0xE]
000045E0 6704 beq +0x6 /* 000045E6 */
000045E2 4EBA DD86 jsr [PC - 0x227A /* 0000236A */]
label000045E6:
000045E6 3B6D AF5C B20E move.w [A5 - 0x4DF2], [A5 - 0x50A4]
000045EC 6606 bne +0x8 /* 000045F4 */
000045EE 7000 moveq.l D0, 0x00
000045F0 3F00 move.w -[A7], D0
000045F2 A938 syscall HiliteMenu
label000045F4:
000045F4 4CEE 18F0 FED8 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x128]
000045FA 4E5E unlink A6
000045FC 4E75 rts
export_58:
fn000045FE:
000045FE 48E7 0018 movem.l -[A7], A3,A4
00004602 286F 0010 movea.l A4, [A7 + 0x10]
00004606 266F 000C movea.l A3, [A7 + 0xC]
0000460A 598F subq.l A7, 4
0000460C 2F3C 736E 6420 move.l -[A7], 0x736E6420 /* 'snd ' */
00004612 2F0B move.l -[A7], A3
00004614 A9A1 syscall GetNamedResource
00004616 2B5F B260 move.l [A5 - 0x4DA0], [A7]+
0000461A 6726 beq +0x28 /* 00004642 */
0000461C 558F subq.l A7, 2
0000461E 2F2D B260 move.l -[A7], [A5 - 0x4DA0]
00004622 4EBA 2514 jsr [PC + 0x2514 /* 00006B38 */]
00004626 1B5F B210 move.b [A5 - 0x4DF0], [A7]+
0000462A 2F2D B260 move.l -[A7], [A5 - 0x4DA0]
0000462E 4EBA 1C44 jsr [PC + 0x1C44 /* 00006274 */]
00004632 2F2D B260 move.l -[A7], [A5 - 0x4DA0]
00004636 4EBA 1EE2 jsr [PC + 0x1EE2 /* 0000651A */]
0000463A 206D B260 movea.l A0, [A5 - 0x4DA0]
0000463E 2050 movea.l A0, [A0]
00004640 3890 move.w [A4], [A0]
label00004642:
00004642 558F subq.l A7, 2
00004644 A9AF syscall ResError
00004646 301F move.w D0, [A7]+
00004648 4CDF 1800 movem.l A3,A4, [A7]+
0000464C 4E75 rts
export_59:
0000464E 4E56 FFF0 link A6, -0x0010
00004652 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00004656 4A6D AF5C tst.w [A5 - 0x50A4]
0000465A 6708 beq +0xA /* 00004664 */
0000465C 426E FFF0 clr.w [A6 - 0x10]
00004660 6000 00EC bra +0xEE /* 0000474E */
label00004664:
00004664 486E FFFA pea.l [A6 - 0x6]
00004668 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000466C 4EBA FF90 jsr [PC - 0x70 /* 000045FE */]
00004670 3D40 FFF0 move.w [A6 - 0x10], D0
00004674 508F addq.l A7, 8
00004676 6600 00D6 bne +0xD8 /* 0000474E */
0000467A 302E FFFA move.w D0, [A6 - 0x6]
0000467E 5340 subq.w D0, 1
00004680 6B5C bmi +0x5E /* 000046DE */
00004682 0C40 0001 cmpi.w D0, 0x1
00004686 6E56 bgt +0x58 /* 000046DE */
00004688 D040 add.w D0, D0
0000468A 303B 0006 move.w D0, [PC + D0.w + 0x6]
0000468E 4EFB 0000 jmp [PC + D0.w]
00004692 0006 003E ori.b D6, 0x3E /* '>' */
00004696 206D B260 movea.l A0, [A5 - 0x4DA0]
0000469A 2650 movea.l A3, [A0]
0000469C 302B 0002 move.w D0, [A3 + 0x2]
000046A0 48C0 ext.l D0
000046A2 2800 move.l D4, D0
000046A4 204B movea.l A0, A3
000046A6 5888 addq.l A0, 4
000046A8 2D48 FFFC move.l [A6 - 0x4], A0
000046AC 2204 move.l D1, D4
000046AE 2001 move.l D0, D1
000046B0 C2FC 0006 mulu.w D1, 0x6
000046B4 4840 swap.w D0
000046B6 C0FC 0006 mulu.w D0, 0x6
000046BA 4840 swap.w D0
000046BC 4240 clr.w D0
000046BE D280 add.l D1, D0
000046C0 2841 movea.l A4, D1
000046C2 D9EE FFFC add.l A4, [A6 - 0x4]
000046C6 3A14 move.w D5, [A4]
000046C8 264C movea.l A3, A4
000046CA 548B addq.l A3, 2
000046CC 6016 bra +0x18 /* 000046E4 */
000046CE 206D B260 movea.l A0, [A5 - 0x4DA0]
000046D2 2850 movea.l A4, [A0]
000046D4 3A2C 0004 move.w D5, [A4 + 0x4]
000046D8 47EC 0006 lea.l A3, [A4 + 0x6]
000046DC 6006 bra +0x8 /* 000046E4 */
label000046DE:
000046DE 302E FFF0 move.w D0, [A6 - 0x10]
000046E2 6078 bra +0x7A /* 0000475C */
label000046E4:
000046E4 4246 clr.w D6
000046E6 4247 clr.w D7
label000046E8:
000046E8 7000 moveq.l D0, 0x00
000046EA 3013 move.w D0, [A3]
000046EC 223C 0000 8000 move.l D1, 0x8000
000046F2 C280 and.l D1, D0
000046F4 6716 beq +0x18 /* 0000470C */
000046F6 0253 7FFF andi.w [A3], 0x7FFF
000046FA 7051 moveq.l D0, 0x51
000046FC B053 cmp.w D0, [A3]
000046FE 6706 beq +0x8 /* 00004706 */
00004700 7050 moveq.l D0, 0x50
00004702 B053 cmp.w D0, [A3]
00004704 6606 bne +0x8 /* 0000470C */
label00004706:
00004706 7E01 moveq.l D7, 0x01
00004708 282B 0004 move.l D4, [A3 + 0x4]
label0000470C:
0000470C 508B addq.l A3, 8
0000470E 5246 addq.w D6, 1
00004710 4A47 tst.w D7
00004712 6604 bne +0x6 /* 00004718 */
00004714 BA46 cmp.w D5, D6
00004716 66D0 bne -0x2E /* 000046E8 */
label00004718:
00004718 4A47 tst.w D7
0000471A 672C beq +0x2E /* 00004748 */
0000471C 3D7C 0050 FFF2 move.w [A6 - 0xE], 0x50 /* 'P' */
00004722 426E FFF4 clr.w [A6 - 0xC]
00004726 206D B260 movea.l A0, [A5 - 0x4DA0]
0000472A 2004 move.l D0, D4
0000472C D090 add.l D0, [A0]
0000472E 2D40 FFF6 move.l [A6 - 0xA], D0
00004732 558F subq.l A7, 2
00004734 2F2D B25C move.l -[A7], [A5 - 0x4DA4]
00004738 486E FFF2 pea.l [A6 - 0xE]
0000473C 7001 moveq.l D0, 0x01
0000473E 1F00 move.b -[A7], D0
00004740 A803 syscall SndDoCommand
00004742 3D5F FFF0 move.w [A6 - 0x10], [A7]+
00004746 6006 bra +0x8 /* 0000474E */
label00004748:
00004748 3D7C FF34 FFF0 move.w [A6 - 0x10], 0xFF34
label0000474E:
0000474E 4A6E FFF0 tst.w [A6 - 0x10]
00004752 6704 beq +0x6 /* 00004758 */
00004754 4EBA 0064 jsr [PC + 0x64 /* 000047BA */]
label00004758:
00004758 302E FFF0 move.w D0, [A6 - 0x10]
label0000475C:
0000475C 4CEE 18F0 FFD8 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x28]
00004762 4E5E unlink A6
00004764 4E75 rts
export_60:
00004766 2F07 move.l -[A7], D7
00004768 3B7C 0003 B212 move.w [A5 - 0x4DEE], 0x3
0000476E 7000 moveq.l D0, 0x00
00004770 2B40 B216 move.l [A5 - 0x4DEA], D0
00004774 3B40 B214 move.w [A5 - 0x4DEC], D0
00004778 558F subq.l A7, 2
0000477A 2F2D B25C move.l -[A7], [A5 - 0x4DA4]
0000477E 486D B212 pea.l [A5 - 0x4DEE]
00004782 7201 moveq.l D1, 0x01
00004784 1F01 move.b -[A7], D1
00004786 A803 syscall SndDoCommand
00004788 3E1F move.w D7, [A7]+
0000478A 6628 bne +0x2A /* 000047B4 */
0000478C 3B7C 000D B212 move.w [A5 - 0x4DEE], 0xD /* '\r' */
00004792 2038 0904 move.l D0, [0x00000904 /* CurrentA5 */]
00004796 3B40 B214 move.w [A5 - 0x4DEC], D0
0000479A 41ED B25A lea.l A0, [A5 - 0x4DA6]
0000479E 2B48 B216 move.l [A5 - 0x4DEA], A0
000047A2 558F subq.l A7, 2
000047A4 2F2D B25C move.l -[A7], [A5 - 0x4DA4]
000047A8 486D B212 pea.l [A5 - 0x4DEE]
000047AC 7001 moveq.l D0, 0x01
000047AE 1F00 move.b -[A7], D0
000047B0 A803 syscall SndDoCommand
000047B2 3E1F move.w D7, [A7]+
label000047B4:
000047B4 3007 move.w D0, D7
000047B6 2E1F move.l D7, [A7]+
000047B8 4E75 rts
export_61:
fn000047BA:
000047BA 2F07 move.l -[A7], D7
000047BC 4AAD B25C tst.l [A5 - 0x4DA4]
000047C0 6750 beq +0x52 /* 00004812 */
000047C2 3B7C 0003 B212 move.w [A5 - 0x4DEE], 0x3
000047C8 7000 moveq.l D0, 0x00
000047CA 2B40 B216 move.l [A5 - 0x4DEA], D0
000047CE 3B40 B214 move.w [A5 - 0x4DEC], D0
000047D2 558F subq.l A7, 2
000047D4 2F2D B25C move.l -[A7], [A5 - 0x4DA4]
000047D8 486D B212 pea.l [A5 - 0x4DEE]
000047DC A804 syscall SndDoImmediate
000047DE 3B7C 0004 B212 move.w [A5 - 0x4DEE], 0x4
000047E4 7000 moveq.l D0, 0x00
000047E6 2B40 B216 move.l [A5 - 0x4DEA], D0
000047EA 3B40 B214 move.w [A5 - 0x4DEC], D0
000047EE 558F subq.l A7, 2
000047F0 2F2D B25C move.l -[A7], [A5 - 0x4DA4]
000047F4 486D B212 pea.l [A5 - 0x4DEE]
000047F8 A804 syscall SndDoImmediate
000047FA 558F subq.l A7, 2
000047FC 2F2D B25C move.l -[A7], [A5 - 0x4DA4]
00004800 7000 moveq.l D0, 0x00
00004802 1F00 move.b -[A7], D0
00004804 A801 syscall SndDisposeChannel
00004806 4A5F tst.w [A7]+
00004808 588F addq.l A7, 4
0000480A 6606 bne +0x8 /* 00004812 */
0000480C 7000 moveq.l D0, 0x00
0000480E 2B40 B25C move.l [A5 - 0x4DA4], D0
label00004812:
00004812 4AAD B260 tst.l [A5 - 0x4DA0]
00004816 673C beq +0x3E /* 00004854 */
00004818 2F2D B260 move.l -[A7], [A5 - 0x4DA0]
0000481C 1F2D B210 move.b -[A7], [A5 - 0x4DF0]
00004820 4EBA 2320 jsr [PC + 0x2320 /* 00006B42 */]
00004824 558F subq.l A7, 2
00004826 2F2D B260 move.l -[A7], [A5 - 0x4DA0]
0000482A A9A6 syscall GetResAttrs
0000482C 3E1F move.w D7, [A7]+
0000482E 7040 moveq.l D0, 0x40
00004830 C047 and.w D0, D7
00004832 6714 beq +0x16 /* 00004848 */
00004834 558F subq.l A7, 2
00004836 A9AF syscall ResError
00004838 4A5F tst.w [A7]+
0000483A 660C bne +0xE /* 00004848 */
0000483C 7020 moveq.l D0, 0x20
0000483E C047 and.w D0, D7
00004840 670C beq +0xE /* 0000484E */
00004842 7010 moveq.l D0, 0x10
00004844 C047 and.w D0, D7
00004846 6606 bne +0x8 /* 0000484E */
label00004848:
00004848 2F2D B260 move.l -[A7], [A5 - 0x4DA0]
0000484C A9A3 syscall ReleaseResource
label0000484E:
0000484E 7000 moveq.l D0, 0x00
00004850 2B40 B260 move.l [A5 - 0x4DA0], D0
label00004854:
00004854 426D B25A clr.w [A5 - 0x4DA6]
00004858 2E1F move.l D7, [A7]+
0000485A 4E75 rts
export_62:
fn0000485C:
0000485C 48E7 0110 movem.l -[A7], D7,A3
00004860 266F 000C movea.l A3, [A7 + 0xC]
00004864 3013 move.w D0, [A3]
00004866 48C0 ext.l D0
00004868 0C80 0000 4EF9 cmpi.l D0, 0x4EF9
0000486E 660C bne +0xE /* 0000487C */
00004870 200B move.l D0, A3
00004872 5580 subq.l D0, 2
00004874 2040 movea.l A0, D0
00004876 3010 move.w D0, [A0]
00004878 48C0 ext.l D0
0000487A 6006 bra +0x8 /* 00004882 */
label0000487C:
0000487C 302B 0002 move.w D0, [A3 + 0x2]
00004880 48C0 ext.l D0
label00004882:
00004882 3E00 move.w D7, D0
00004884 206D AFD6 movea.l A0, [A5 - 0x502A]
00004888 48C7 ext.l D7
0000488A 2007 move.l D0, D7
0000488C D080 add.l D0, D0
0000488E 4A70 0800 tst.w [A0 + D0]
00004892 6F0E ble +0x10 /* 000048A2 */
00004894 206D AFD6 movea.l A0, [A5 - 0x502A]
00004898 48C7 ext.l D7
0000489A 2007 move.l D0, D7
0000489C D080 add.l D0, D0
0000489E 5370 0800 subq.w [A0 + D0], 1
label000048A2:
000048A2 4CDF 0880 movem.l D7,A3, [A7]+
000048A6 4E75 rts
export_63:
fn000048A8:
000048A8 48E7 0710 movem.l -[A7], D5,D6,D7,A3
000048AC 266F 0014 movea.l A3, [A7 + 0x14]
000048B0 7E01 moveq.l D7, 0x01
000048B2 0C53 3F3C cmpi.w [A3], 0x3F3C /* '?<' */
000048B6 6640 bne +0x42 /* 000048F8 */
000048B8 558F subq.l A7, 2
000048BA A994 syscall CurResFile
000048BC 3A1F move.w D5, [A7]+
000048BE 3F2D AFD4 move.w -[A7], [A5 - 0x502C]
000048C2 A998 syscall UseResFile
000048C4 2F2D AF42 move.l -[A7], [A5 - 0x50BE]
000048C8 4EBA 1948 jsr [PC + 0x1948 /* 00006212 */]
000048CC 598F subq.l A7, 4
000048CE 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
000048D4 3C2B 0002 move.w D6, [A3 + 0x2]
000048D8 3F06 move.w -[A7], D6
000048DA A81F syscall Get1Resource
000048DC 4A9F tst.l [A7]+
000048DE 6708 beq +0xA /* 000048E8 */
000048E0 558F subq.l A7, 2
000048E2 A9AF syscall ResError
000048E4 4A5F tst.w [A7]+
000048E6 6702 beq +0x4 /* 000048EA */
label000048E8:
000048E8 5347 subq.w D7, 1
label000048EA:
000048EA 2F2D AF3E move.l -[A7], [A5 - 0x50C2]
000048EE 4EBA 1922 jsr [PC + 0x1922 /* 00006212 */]
000048F2 3F05 move.w -[A7], D5
000048F4 A998 syscall UseResFile
000048F6 6008 bra +0xA /* 00004900 */
label000048F8:
000048F8 200B move.l D0, A3
000048FA 5580 subq.l D0, 2
000048FC 2040 movea.l A0, D0
000048FE 3C10 move.w D6, [A0]
label00004900:
00004900 4A47 tst.w D7
00004902 671E beq +0x20 /* 00004922 */
00004904 206D AFD6 movea.l A0, [A5 - 0x502A]
00004908 48C6 ext.l D6
0000490A 2006 move.l D0, D6
0000490C D080 add.l D0, D0
0000490E 4A70 0800 tst.w [A0 + D0]
00004912 6D0E blt +0x10 /* 00004922 */
00004914 206D AFD6 movea.l A0, [A5 - 0x502A]
00004918 48C6 ext.l D6
0000491A 2006 move.l D0, D6
0000491C D080 add.l D0, D0
0000491E 5270 0800 addq.w [A0 + D0], 1
label00004922:
00004922 3007 move.w D0, D7
00004924 4CDF 08E0 movem.l D5,D6,D7,A3, [A7]+
00004928 4E75 rts
export_64:
fn0000492A:
0000492A 48E7 0110 movem.l -[A7], D7,A3
0000492E 266F 000C movea.l A3, [A7 + 0xC]
00004932 2F0B move.l -[A7], A3
00004934 4EBA FF72 jsr [PC - 0x8E /* 000048A8 */]
00004938 3E00 move.w D7, D0
0000493A 588F addq.l A7, 4
0000493C 670C beq +0xE /* 0000494A */
0000493E 4E93 jsr [A3]
00004940 3E00 move.w D7, D0
00004942 2F0B move.l -[A7], A3
00004944 4EBA FF16 jsr [PC - 0xEA /* 0000485C */]
00004948 588F addq.l A7, 4
label0000494A:
0000494A 3007 move.w D0, D7
0000494C 4CDF 0880 movem.l D7,A3, [A7]+
00004950 4E75 rts
export_65:
fn00004952:
00004952 48E7 0118 movem.l -[A7], D7,A3,A4
00004956 286F 0014 movea.l A4, [A7 + 0x14]
0000495A 266F 0010 movea.l A3, [A7 + 0x10]
0000495E 2F0B move.l -[A7], A3
00004960 4EBA FF46 jsr [PC - 0xBA /* 000048A8 */]
00004964 3E00 move.w D7, D0
00004966 588F addq.l A7, 4
00004968 670E beq +0x10 /* 00004978 */
0000496A 2F0C move.l -[A7], A4
0000496C 4E93 jsr [A3]
0000496E 3E00 move.w D7, D0
00004970 2F0B move.l -[A7], A3
00004972 4EBA FEE8 jsr [PC - 0x118 /* 0000485C */]
00004976 508F addq.l A7, 8
label00004978:
00004978 3007 move.w D0, D7
0000497A 4CDF 1880 movem.l D7,A3,A4, [A7]+
0000497E 4E75 rts
export_66:
00004980 598F subq.l A7, 4
00004982 A975 syscall TickCount
00004984 201F move.l D0, [A7]+
00004986 90AD B21A sub.l D0, [A5 - 0x4DE6]
0000498A 2200 move.l D1, D0
0000498C C0FC 0064 mulu.w D0, 0x64 /* 'd' */
00004990 4841 swap.w D1
00004992 C2FC 0064 mulu.w D1, 0x64 /* 'd' */
00004996 4841 swap.w D1
00004998 4241 clr.w D1
0000499A D081 add.l D0, D1
0000499C 721E moveq.l D1, 0x1E
0000499E D081 add.l D0, D1
000049A0 723C moveq.l D1, 0x3C
000049A2 4EBA 157E jsr [PC + 0x157E /* 00005F22 */]
000049A6 4E75 rts
export_67:
000049A8 4E56 0000 link A6, 0
000049AC 222E 0008 move.l D1, [A6 + 0x8]
000049B0 2001 move.l D0, D1
000049B2 C2FC 003C mulu.w D1, 0x3C /* '<' */
000049B6 4840 swap.w D0
000049B8 C0FC 003C mulu.w D0, 0x3C /* '<' */
000049BC 4840 swap.w D0
000049BE 4240 clr.w D0
000049C0 D280 add.l D1, D0
000049C2 7032 moveq.l D0, 0x32
000049C4 D280 add.l D1, D0
000049C6 2001 move.l D0, D1
000049C8 7264 moveq.l D1, 0x64
000049CA 4EBA 1546 jsr [PC + 0x1546 /* 00005F12 */]
000049CE D0AD B21A add.l D0, [A5 - 0x4DE6]
000049D2 2F00 move.l -[A7], D0
000049D4 7000 moveq.l D0, 0x00
000049D6 2F00 move.l -[A7], D0
000049D8 2F00 move.l -[A7], D0
000049DA 4EBA D99A jsr [PC - 0x2666 /* 00002376 */]
000049DE 4E5E unlink A6
000049E0 4E75 rts
export_68:
000049E2 4E56 0000 link A6, 0
000049E6 598F subq.l A7, 4
000049E8 A975 syscall TickCount
000049EA 222E 0008 move.l D1, [A6 + 0x8]
000049EE 2001 move.l D0, D1
000049F0 C2FC 003C mulu.w D1, 0x3C /* '<' */
000049F4 4840 swap.w D0
000049F6 C0FC 003C mulu.w D0, 0x3C /* '<' */
000049FA 4840 swap.w D0
000049FC 4240 clr.w D0
000049FE D280 add.l D1, D0
00004A00 7032 moveq.l D0, 0x32
00004A02 D280 add.l D1, D0
00004A04 2001 move.l D0, D1
00004A06 7264 moveq.l D1, 0x64
00004A08 4EBA 1508 jsr [PC + 0x1508 /* 00005F12 */]
00004A0C D09F add.l D0, [A7]+
00004A0E 2F00 move.l -[A7], D0
00004A10 7000 moveq.l D0, 0x00
00004A12 2F00 move.l -[A7], D0
00004A14 2F00 move.l -[A7], D0
00004A16 4EBA D95E jsr [PC - 0x26A2 /* 00002376 */]
00004A1A 4E5E unlink A6
00004A1C 4E75 rts
export_69:
00004A1E 598F subq.l A7, 4
00004A20 A975 syscall TickCount
00004A22 2B5F B21A move.l [A5 - 0x4DE6], [A7]+
00004A26 4E75 rts
export_70:
00004A28 4E56 FFF2 link A6, -0x000E
00004A2C 486E FFF2 pea.l [A6 - 0xE]
00004A30 4EBA 1B90 jsr [PC + 0x1B90 /* 000065C2 */]
00004A34 3B6E FFF8 E59C move.w [A5 - 0x1A64], [A6 - 0x8]
00004A3A 3B6E FFFA E59A move.w [A5 - 0x1A66], [A6 - 0x6]
00004A40 3B6E FFFC E598 move.w [A5 - 0x1A68], [A6 - 0x4]
00004A46 426D E596 clr.w [A5 - 0x1A6A]
00004A4A 3B6E FFF4 E5A2 move.w [A5 - 0x1A5E], [A6 - 0xC]
00004A50 3B6E FFF6 E5A0 move.w [A5 - 0x1A60], [A6 - 0xA]
00004A56 3B6E FFF2 E59E move.w [A5 - 0x1A62], [A6 - 0xE]
00004A5C 4E5E unlink A6
00004A5E 4E75 rts
export_71:
00004A60 4A6F 0006 tst.w [A7 + 0x6]
00004A64 6706 beq +0x8 /* 00004A6C */
00004A66 526D AF5A addq.w [A5 - 0x50A6], 1
00004A6A 6004 bra +0x6 /* 00004A70 */
label00004A6C:
00004A6C 536D AF5A subq.w [A5 - 0x50A6], 1
label00004A70:
00004A70 4E75 rts
export_72:
fn00004A72:
00004A72 48E7 0300 movem.l -[A7], D6,D7
00004A76 2C2F 000C move.l D6, [A7 + 0xC]
00004A7A 7E01 moveq.l D7, 0x01
00004A7C 4A6D AF5C tst.w [A5 - 0x50A4]
00004A80 670C beq +0xE /* 00004A8E */
00004A82 602C bra +0x2E /* 00004AB0 */
label00004A84:
00004A84 4A6D B25A tst.w [A5 - 0x4DA6]
00004A88 6704 beq +0x6 /* 00004A8E */
00004A8A 4EBA FD2E jsr [PC - 0x2D2 /* 000047BA */]
label00004A8E:
00004A8E 4AAD B25C tst.l [A5 - 0x4DA4]
00004A92 66F0 bne -0xE /* 00004A84 */
00004A94 4AAD B260 tst.l [A5 - 0x4DA0]
00004A98 66EA bne -0x14 /* 00004A84 */
00004A9A 4A86 tst.l D6
00004A9C 5DC7 slt D7
00004A9E 0247 0001 andi.w D7, 0x1
00004AA2 6706 beq +0x8 /* 00004AAA */
00004AA4 2006 move.l D0, D6
00004AA6 4480 neg.l D0
00004AA8 6002 bra +0x4 /* 00004AAC */
label00004AAA:
00004AAA 7001 moveq.l D0, 0x01
label00004AAC:
00004AAC 3F00 move.w -[A7], D0
00004AAE A9C8 syscall SysBeep
label00004AB0:
00004AB0 3007 move.w D0, D7
00004AB2 4CDF 00C0 movem.l D6,D7, [A7]+
00004AB6 4E75 rts
export_73:
00004AB8 3B7C 0001 B2AE move.w [A5 - 0x4D52], 0x1
00004ABE 486D 26CA pea.l [A5 + 0x26CA /* export_1237 */]
00004AC2 4EBA FDE4 jsr [PC - 0x21C /* 000048A8 */]
00004AC6 4A40 tst.w D0
00004AC8 588F addq.l A7, 4
00004ACA 6712 beq +0x14 /* 00004ADE */
00004ACC 7000 moveq.l D0, 0x00
00004ACE 2F00 move.l -[A7], D0
00004AD0 4EAD 26CA jsr [A5 + 0x26CA /* export_1237 */]
00004AD4 486D 26CA pea.l [A5 + 0x26CA /* export_1237 */]
00004AD8 4EBA FD82 jsr [PC - 0x27E /* 0000485C */]
00004ADC 508F addq.l A7, 8
label00004ADE:
00004ADE 2F2D B2B0 move.l -[A7], [A5 - 0x4D50]
00004AE2 4EBA 19BE jsr [PC + 0x19BE /* 000064A2 */]
00004AE6 7000 moveq.l D0, 0x00
00004AE8 2B40 B2B0 move.l [A5 - 0x4D50], D0
00004AEC 4E75 rts
export_74:
fn00004AEE:
00004AEE 2F0B move.l -[A7], A3
00004AF0 598F subq.l A7, 4
00004AF2 A924 syscall FrontWindow
00004AF4 265F movea.l A3, [A7]+
00004AF6 7000 moveq.l D0, 0x00
00004AF8 206D B352 movea.l A0, [A5 - 0x4CAE]
00004AFC 2050 movea.l A0, [A0]
00004AFE 4AA8 0002 tst.l [A0 + 0x2]
00004B02 6720 beq +0x22 /* 00004B24 */
00004B04 220B move.l D1, A3
00004B06 671C beq +0x1E /* 00004B24 */
00004B08 206D B352 movea.l A0, [A5 - 0x4CAE]
00004B0C 2050 movea.l A0, [A0]
00004B0E B7E8 0002 cmpa.l A3, [A0 + 0x2]
00004B12 670E beq +0x10 /* 00004B22 */
00004B14 322B 006C move.w D1, [A3 + 0x6C]
00004B18 48C1 ext.l D1
00004B1A 0C81 0000 6590 cmpi.l D1, 0x6590
00004B20 6602 bne +0x4 /* 00004B24 */
label00004B22:
00004B22 7001 moveq.l D0, 0x01
label00004B24:
00004B24 265F movea.l A3, [A7]+
00004B26 4E75 rts
export_75:
fn00004B28:
00004B28 2F0B move.l -[A7], A3
00004B2A 266F 0008 movea.l A3, [A7 + 0x8]
00004B2E 4A6D E696 tst.w [A5 - 0x196A]
00004B32 672A beq +0x2C /* 00004B5E */
00004B34 486D 268A pea.l [A5 + 0x268A /* export_1229 */]
00004B38 4EBA FD6E jsr [PC - 0x292 /* 000048A8 */]
00004B3C 4A40 tst.w D0
00004B3E 588F addq.l A7, 4
00004B40 671C beq +0x1E /* 00004B5E */
00004B42 526D B35E addq.w [A5 - 0x4CA2], 1
00004B46 558F subq.l A7, 2
00004B48 2F0B move.l -[A7], A3
00004B4A 303C 021B move.w D0, 0x21B
00004B4E A816 syscall Pack8
00004B50 536D B35E subq.w [A5 - 0x4CA2], 1
00004B54 486D 268A pea.l [A5 + 0x268A /* export_1229 */]
00004B58 4EBA FD02 jsr [PC - 0x2FE /* 0000485C */]
00004B5C 5C8F addq.l A7, 6
label00004B5E:
00004B5E 265F movea.l A3, [A7]+
00004B60 4E75 rts
export_76:
00004B62 4E56 FFDC link A6, -0x0024
00004B66 2F0B move.l -[A7], A3
00004B68 4A6D AF5C tst.w [A5 - 0x50A4]
00004B6C 6700 0094 beq +0x96 /* 00004C02 */
00004B70 4A6D E696 tst.w [A5 - 0x196A]
00004B74 671C beq +0x1E /* 00004B92 */
00004B76 4A6D B35E tst.w [A5 - 0x4CA2]
00004B7A 6716 beq +0x18 /* 00004B92 */
00004B7C 558F subq.l A7, 2
00004B7E 70FF moveq.l D0, 0xFFFFFFFF
00004B80 2F00 move.l -[A7], D0
00004B82 7200 moveq.l D1, 0x00
00004B84 2F01 move.l -[A7], D1
00004B86 2F01 move.l -[A7], D1
00004B88 303C 061C move.w D0, 0x61C
00004B8C A816 syscall Pack8
00004B8E 548F addq.l A7, 2
00004B90 6070 bra +0x72 /* 00004C02 */
label00004B92:
00004B92 4A6E 000A tst.w [A6 + 0xA]
00004B96 6706 beq +0x8 /* 00004B9E */
00004B98 4A6D AFA0 tst.w [A5 - 0x5060]
00004B9C 6664 bne +0x66 /* 00004C02 */
label00004B9E:
00004B9E 7024 moveq.l D0, 0x24
00004BA0 2F00 move.l -[A7], D0
00004BA2 486E FFDC pea.l [A6 - 0x24]
00004BA6 4EAD 1B02 jsr [A5 + 0x1B02 /* export_860 */]
00004BAA 598F subq.l A7, 4
00004BAC 2F3C 5349 434E move.l -[A7], 0x5349434E /* 'SICN' */
00004BB2 3F3C 0080 move.w -[A7], 0x80
00004BB6 A9A0 syscall GetResource
00004BB8 265F movea.l A3, [A7]+
00004BBA 3D7C 0008 FFE0 move.w [A6 - 0x20], 0x8
00004BC0 3D7C 0001 FFEA move.w [A6 - 0x16], 0x1
00004BC6 2D4B FFEC move.l [A6 - 0x14], A3
00004BCA 558F subq.l A7, 2
00004BCC 486E FFDC pea.l [A6 - 0x24]
00004BD0 205F movea.l A0, [A7]+
00004BD2 A05E syscall NMInstall
00004BD4 3E80 move.w [A7], D0
00004BD6 4A5F tst.w [A7]+
00004BD8 508F addq.l A7, 8
00004BDA 6626 bne +0x28 /* 00004C02 */
label00004BDC:
00004BDC 703C moveq.l D0, 0x3C
00004BDE 2F00 move.l -[A7], D0
00004BE0 7200 moveq.l D1, 0x00
00004BE2 2F01 move.l -[A7], D1
00004BE4 2F01 move.l -[A7], D1
00004BE6 4EBA D78E jsr [PC - 0x2872 /* 00002376 */]
00004BEA 4A6D AF5C tst.w [A5 - 0x50A4]
00004BEE 4FEF 000C lea.l A7, [A7 + 0xC]
00004BF2 66E8 bne -0x16 /* 00004BDC */
00004BF4 558F subq.l A7, 2
00004BF6 486E FFDC pea.l [A6 - 0x24]
00004BFA 205F movea.l A0, [A7]+
00004BFC A05F syscall NMRemove
00004BFE 3E80 move.w [A7], D0
00004C00 548F addq.l A7, 2
label00004C02:
00004C02 7000 moveq.l D0, 0x00
00004C04 4A6D AF5C tst.w [A5 - 0x50A4]
00004C08 57C0 seq D0
00004C0A 4400 neg.b D0
00004C0C 266E FFD8 movea.l A3, [A6 - 0x28]
00004C10 4E5E unlink A6
00004C12 4E75 rts
export_77:
00004C14 48E7 0310 movem.l -[A7], D6,D7,A3
00004C18 266F 0010 movea.l A3, [A7 + 0x10]
00004C1C 2B4B B3D4 move.l [A5 - 0x4C2C], A3
00004C20 7C01 moveq.l D6, 0x01
00004C22 4247 clr.w D7
00004C24 6044 bra +0x46 /* 00004C6A */
label00004C26:
00004C26 206D B3D4 movea.l A0, [A5 - 0x4C2C]
00004C2A 48C7 ext.l D7
00004C2C 2007 move.l D0, D7
00004C2E E580 asl D0, 2
00004C30 4AB0 0800 tst.l [A0 + D0]
00004C34 6632 bne +0x34 /* 00004C68 */
00004C36 598F subq.l A7, 4
00004C38 3007 move.w D0, D7
00004C3A 5440 addq.w D0, 2
00004C3C 3F00 move.w -[A7], D0
00004C3E A9BF syscall GetRMenu
00004C40 206D B3D4 movea.l A0, [A5 - 0x4C2C]
00004C44 48C7 ext.l D7
00004C46 2007 move.l D0, D7
00004C48 E580 asl D0, 2
00004C4A 219F 0800 move.l [A0 + D0], [A7]+
00004C4E 6604 bne +0x6 /* 00004C54 */
00004C50 4246 clr.w D6
00004C52 6014 bra +0x16 /* 00004C68 */
label00004C54:
00004C54 206D B3D4 movea.l A0, [A5 - 0x4C2C]
00004C58 48C7 ext.l D7
00004C5A 2007 move.l D0, D7
00004C5C E580 asl D0, 2
00004C5E 2F30 0800 move.l -[A7], [A0 + D0]
00004C62 70FF moveq.l D0, 0xFFFFFFFF
00004C64 3F00 move.w -[A7], D0
00004C66 A935 syscall InsertMenu
label00004C68:
00004C68 5247 addq.w D7, 1
label00004C6A:
00004C6A 0C47 0003 cmpi.w D7, 0x3
00004C6E 6C04 bge +0x6 /* 00004C74 */
00004C70 4A46 tst.w D6
00004C72 66B2 bne -0x4C /* 00004C26 */
label00004C74:
00004C74 3006 move.w D0, D6
00004C76 4CDF 08C0 movem.l D6,D7,A3, [A7]+
00004C7A 4E75 rts
export_78:
00004C7C 48E7 1310 movem.l -[A7], D3,D6,D7,A3
00004C80 266F 0018 movea.l A3, [A7 + 0x18]
00004C84 3C2F 0016 move.w D6, [A7 + 0x16]
00004C88 4247 clr.w D7
00004C8A 760B moveq.l D3, 0x0B
label00004C8C:
00004C8C 2007 move.l D0, D7
00004C8E D040 add.w D0, D0
00004C90 41ED FBC2 lea.l A0, [A5 - 0x43E]
00004C94 BC70 0000 cmp.w D6, [A0 + D0.w]
00004C98 6706 beq +0x8 /* 00004CA0 */
00004C9A 5247 addq.w D7, 1
00004C9C B647 cmp.w D3, D7
00004C9E 6EEC bgt -0x12 /* 00004C8C */
label00004CA0:
00004CA0 2F0B move.l -[A7], A3
00004CA2 3F3C 61AC move.w -[A7], 0x61AC
00004CA6 3007 move.w D0, D7
00004CA8 5240 addq.w D0, 1
00004CAA 3F00 move.w -[A7], D0
00004CAC 4EBA 2038 jsr [PC + 0x2038 /* 00006CE6 */]
00004CB0 4CDF 08C8 movem.l D3,D6,D7,A3, [A7]+
00004CB4 4E75 rts
export_79:
00004CB6 4E56 FFFC link A6, -0x0004
00004CBA 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00004CBE 3E2E 000E move.w D7, [A6 + 0xE]
00004CC2 7000 moveq.l D0, 0x00
00004CC4 102E 000B move.b D0, [A6 + 0xB]
00004CC8 2F00 move.l -[A7], D0
00004CCA 4EBA 030C jsr [PC + 0x30C /* 00004FD8 */]
00004CCE 2C00 move.l D6, D0
00004CD0 206D B3D4 movea.l A0, [A5 - 0x4C2C]
00004CD4 2006 move.l D0, D6
00004CD6 E580 asl D0, 2
00004CD8 2870 0800 movea.l A4, [A0 + D0]
00004CDC 7002 moveq.l D0, 0x02
00004CDE B086 cmp.l D0, D6
00004CE0 588F addq.l A7, 4
00004CE2 6614 bne +0x16 /* 00004CF8 */
00004CE4 41EE FFFC lea.l A0, [A6 - 0x4]
00004CE8 7001 moveq.l D0, 0x01
00004CEA 2F00 move.l -[A7], D0
00004CEC 2F2E FFFC move.l -[A7], [A6 - 0x4]
00004CF0 4EBA 0320 jsr [PC + 0x320 /* 00005012 */]
00004CF4 508F addq.l A7, 8
00004CF6 6056 bra +0x58 /* 00004D4E */
label00004CF8:
00004CF8 7001 moveq.l D0, 0x01
00004CFA B086 cmp.l D0, D6
00004CFC 6650 bne +0x52 /* 00004D4E */
00004CFE 2054 movea.l A0, [A4]
00004D00 41E8 000E lea.l A0, [A0 + 0xE]
00004D04 2648 movea.l A3, A0
00004D06 548B addq.l A3, 2
00004D08 176E 0014 0001 move.b [A3 + 0x1], [A6 + 0x14]
00004D0E 16AE 0014 move.b [A3], [A6 + 0x14]
00004D12 176E 0015 0003 move.b [A3 + 0x3], [A6 + 0x15]
00004D18 176E 0015 0002 move.b [A3 + 0x2], [A6 + 0x15]
00004D1E 176E 0016 0005 move.b [A3 + 0x5], [A6 + 0x16]
00004D24 176E 0016 0004 move.b [A3 + 0x4], [A6 + 0x16]
00004D2A 176E 0018 0007 move.b [A3 + 0x7], [A6 + 0x18]
00004D30 176E 0018 0006 move.b [A3 + 0x6], [A6 + 0x18]
00004D36 176E 0019 0009 move.b [A3 + 0x9], [A6 + 0x19]
00004D3C 176E 0019 0008 move.b [A3 + 0x8], [A6 + 0x19]
00004D42 176E 001A 000B move.b [A3 + 0xB], [A6 + 0x1A]
00004D48 176E 001A 000A move.b [A3 + 0xA], [A6 + 0x1A]
label00004D4E:
00004D4E 4A47 tst.w D7
00004D50 670A beq +0xC /* 00004D5C */
00004D52 2F0C move.l -[A7], A4
00004D54 3F07 move.w -[A7], D7
00004D56 7001 moveq.l D0, 0x01
00004D58 1F00 move.b -[A7], D0
00004D5A A945 syscall CheckItem
label00004D5C:
00004D5C 486E 0010 pea.l [A6 + 0x10]
00004D60 A870 syscall LocalToGlobal
00004D62 598F subq.l A7, 4
00004D64 2F0C move.l -[A7], A4
00004D66 3F2E 0010 move.w -[A7], [A6 + 0x10]
00004D6A 3F2E 0012 move.w -[A7], [A6 + 0x12]
00004D6E 7000 moveq.l D0, 0x00
00004D70 3F00 move.w -[A7], D0
00004D72 A80B syscall PopUpMenuSelect
00004D74 201F move.l D0, [A7]+
00004D76 3A00 move.w D5, D0
00004D78 4A47 tst.w D7
00004D7A 670A beq +0xC /* 00004D86 */
00004D7C 2F0C move.l -[A7], A4
00004D7E 3F07 move.w -[A7], D7
00004D80 7000 moveq.l D0, 0x00
00004D82 1F00 move.b -[A7], D0
00004D84 A945 syscall CheckItem
label00004D86:
00004D86 3005 move.w D0, D5
00004D88 4CEE 18E0 FFE8 movem.l D5,D6,D7,A3,A4, [A6 - 0x18]
00004D8E 4E5E unlink A6
00004D90 4E75 rts
fn00004D92:
00004D92 4E56 FFF4 link A6, -0x000C
00004D96 302E 000A move.w D0, [A6 + 0xA]
00004D9A 5440 addq.w D0, 2
00004D9C 3D40 FFF6 move.w [A6 - 0xA], D0
00004DA0 3D6E 000C FFF4 move.w [A6 - 0xC], [A6 + 0xC]
00004DA6 2D6E 000C FFF8 move.l [A6 - 0x8], [A6 + 0xC]
00004DAC 536E 000E subq.w [A6 + 0xE], 1
00004DB0 536E 000C subq.w [A6 + 0xC], 1
00004DB4 41EE 0010 lea.l A0, [A6 + 0x10]
00004DB8 2F20 move.l -[A7], -[A0]
00004DBA 2F20 move.l -[A7], -[A0]
00004DBC 4EAD 08C2 jsr [A5 + 0x8C2 /* export_276 */]
00004DC0 526E 000A addq.w [A6 + 0xA], 1
00004DC4 526E 0008 addq.w [A6 + 0x8], 1
00004DC8 536E 000E subq.w [A6 + 0xE], 1
00004DCC 536E 000C subq.w [A6 + 0xC], 1
00004DD0 2F2D EA1A move.l -[A7], [A5 - 0x15E6]
00004DD4 4EAD 081A jsr [A5 + 0x81A /* export_255 */]
00004DD8 41EE 0010 lea.l A0, [A6 + 0x10]
00004DDC 2F20 move.l -[A7], -[A0]
00004DDE 2F20 move.l -[A7], -[A0]
00004DE0 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
00004DE4 1D7C 0030 FFFE move.b [A6 - 0x2], 0x30 /* '0' */
00004DEA 1D7C 0030 FFFD move.b [A6 - 0x3], 0x30 /* '0' */
00004DF0 1D7C 0030 FFFC move.b [A6 - 0x4], 0x30 /* '0' */
00004DF6 1D7C 0001 FFFF move.b [A6 - 0x1], 0x1
00004DFC 2F2E FFFC move.l -[A7], [A6 - 0x4]
00004E00 4EAD 0812 jsr [A5 + 0x812 /* export_254 */]
00004E04 41EE FFFC lea.l A0, [A6 - 0x4]
00004E08 2F20 move.l -[A7], -[A0]
00004E0A 2F20 move.l -[A7], -[A0]
00004E0C 4EAD 085A jsr [A5 + 0x85A /* export_263 */]
00004E10 3D6E FFFA FFF6 move.w [A6 - 0xA], [A6 - 0x6]
00004E16 302E 0008 move.w D0, [A6 + 0x8]
00004E1A 5440 addq.w D0, 2
00004E1C 3D40 FFF4 move.w [A6 - 0xC], D0
00004E20 536E FFF8 subq.w [A6 - 0x8], 1
00004E24 41EE FFFC lea.l A0, [A6 - 0x4]
00004E28 2F20 move.l -[A7], -[A0]
00004E2A 2F20 move.l -[A7], -[A0]
00004E2C 4EAD 085A jsr [A5 + 0x85A /* export_263 */]
00004E30 4E5E unlink A6
00004E32 4E75 rts
export_80:
00004E34 4E56 0000 link A6, 0
00004E38 41EE 0014 lea.l A0, [A6 + 0x14]
00004E3C 2F20 move.l -[A7], -[A0]
00004E3E 2F20 move.l -[A7], -[A0]
00004E40 4EBA FF50 jsr [PC - 0xB0 /* 00004D92 */]
00004E44 536E 0012 subq.w [A6 + 0x12], 1
00004E48 536E 0010 subq.w [A6 + 0x10], 1
00004E4C 41EE 0014 lea.l A0, [A6 + 0x14]
00004E50 2F20 move.l -[A7], -[A0]
00004E52 2F20 move.l -[A7], -[A0]
00004E54 7000 moveq.l D0, 0x00
00004E56 102E 000B move.b D0, [A6 + 0xB]
00004E5A 2F00 move.l -[A7], D0
00004E5C 4EBA 0006 jsr [PC + 0x6 /* 00004E64 */]
00004E60 4E5E unlink A6
00004E62 4E75 rts
export_81:
fn00004E64:
00004E64 4E56 FFEC link A6, -0x0014
00004E68 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00004E6C 1C2E 000B move.b D6, [A6 + 0xB]
00004E70 302E 0012 move.w D0, [A6 + 0x12]
00004E74 D06E 000E add.w D0, [A6 + 0xE]
00004E78 48C0 ext.l D0
00004E7A E280 asr D0, 1
00004E7C 3D40 FFF6 move.w [A6 - 0xA], D0
00004E80 302E 0010 move.w D0, [A6 + 0x10]
00004E84 D06E 000C add.w D0, [A6 + 0xC]
00004E88 48C0 ext.l D0
00004E8A E280 asr D0, 1
00004E8C 3D40 FFF4 move.w [A6 - 0xC], D0
00004E90 1006 move.b D0, D6
00004E92 5100 subq.b D0, 8
00004E94 6500 0100 bcs +0x102 /* 00004F96 */
00004E98 0C00 0005 cmpi.b D0, 0x5
00004E9C 6200 00F8 bhi +0xFA /* 00004F96 */
00004EA0 7200 moveq.l D1, 0x00
00004EA2 1200 move.b D1, D0
00004EA4 D241 add.w D1, D1
00004EA6 323B 1006 move.w D1, [PC + D1.w + 0x6]
00004EAA 4EFB 1000 jmp [PC + D1.w]
00004EAE 0078 00EA 00EA ori.w [0x000000EA], 0xEA
00004EB4 00EA .incomplete
00004EB6 0044 000E ori.w D4, 0xE
00004EBA 302E FFF4 move.w D0, [A6 - 0xC]
00004EBE 5F40 subq.w D0, 7
00004EC0 3D40 FFF8 move.w [A6 - 0x8], D0
00004EC4 302E 000E move.w D0, [A6 + 0xE]
00004EC8 5440 addq.w D0, 2
00004ECA 3D40 FFFA move.w [A6 - 0x6], D0
00004ECE 302E FFF4 move.w D0, [A6 - 0xC]
00004ED2 5E40 addq.w D0, 7
00004ED4 3D40 FFFC move.w [A6 - 0x4], D0
00004ED8 302E 0012 move.w D0, [A6 + 0x12]
00004EDC 5540 subq.w D0, 2
00004EDE 3D40 FFFE move.w [A6 - 0x2], D0
00004EE2 41ED BD04 lea.l A0, [A5 - 0x42FC]
00004EE6 2648 movea.l A3, A0
00004EE8 7032 moveq.l D0, 0x32
00004EEA D7C0 add.l A3, D0
00004EEC 6000 00A8 bra +0xAA /* 00004F96 */
00004EF0 302E FFF4 move.w D0, [A6 - 0xC]
00004EF4 5940 subq.w D0, 4
00004EF6 3D40 FFF8 move.w [A6 - 0x8], D0
00004EFA 302E FFF6 move.w D0, [A6 - 0xA]
00004EFE 5940 subq.w D0, 4
00004F00 3D40 FFFA move.w [A6 - 0x6], D0
00004F04 302E FFF4 move.w D0, [A6 - 0xC]
00004F08 5840 addq.w D0, 4
00004F0A 3D40 FFFC move.w [A6 - 0x4], D0
00004F0E 302E FFF6 move.w D0, [A6 - 0xA]
00004F12 5840 addq.w D0, 4
00004F14 3D40 FFFE move.w [A6 - 0x2], D0
00004F18 41ED BD04 lea.l A0, [A5 - 0x42FC]
00004F1C 2648 movea.l A3, A0
00004F1E 7028 moveq.l D0, 0x28
00004F20 D7C0 add.l A3, D0
00004F22 6072 bra +0x74 /* 00004F96 */
00004F24 302E FFF4 move.w D0, [A6 - 0xC]
00004F28 5940 subq.w D0, 4
00004F2A 3D40 FFF8 move.w [A6 - 0x8], D0
00004F2E 302E FFF6 move.w D0, [A6 - 0xA]
00004F32 5940 subq.w D0, 4
00004F34 3D40 FFFA move.w [A6 - 0x6], D0
00004F38 302E FFF4 move.w D0, [A6 - 0xC]
00004F3C 5840 addq.w D0, 4
00004F3E 3D40 FFFC move.w [A6 - 0x4], D0
00004F42 302E FFF6 move.w D0, [A6 - 0xA]
00004F46 5840 addq.w D0, 4
00004F48 3D40 FFFE move.w [A6 - 0x2], D0
00004F4C 4A6D AFB0 tst.w [A5 - 0x5050]
00004F50 6738 beq +0x3A /* 00004F8A */
00004F52 41EE FFEC lea.l A0, [A6 - 0x14]
00004F56 43EE FFF8 lea.l A1, [A6 - 0x8]
00004F5A 20D9 move.l [A0]+, [A1]+
00004F5C 20D9 move.l [A0]+, [A1]+
00004F5E 486E FFEC pea.l [A6 - 0x14]
00004F62 A870 syscall LocalToGlobal
00004F64 486E FFF0 pea.l [A6 - 0x10]
00004F68 A870 syscall LocalToGlobal
00004F6A 598F subq.l A7, 4
00004F6C 486E FFEC pea.l [A6 - 0x14]
00004F70 AA27 syscall GetMaxDevice
00004F72 285F movea.l A4, [A7]+
00004F74 200C move.l D0, A4
00004F76 670E beq +0x10 /* 00004F86 */
00004F78 2054 movea.l A0, [A4]
00004F7A 2068 0016 movea.l A0, [A0 + 0x16]
00004F7E 2050 movea.l A0, [A0]
00004F80 3E28 0020 move.w D7, [A0 + 0x20]
00004F84 6006 bra +0x8 /* 00004F8C */
label00004F86:
00004F86 7E01 moveq.l D7, 0x01
00004F88 6002 bra +0x4 /* 00004F8C */
label00004F8A:
00004F8A 7E01 moveq.l D7, 0x01
label00004F8C:
00004F8C 41ED BD04 lea.l A0, [A5 - 0x42FC]
00004F90 2648 movea.l A3, A0
00004F92 701E moveq.l D0, 0x1E
00004F94 D7C0 add.l A3, D0
label00004F96:
00004F96 0C06 0008 cmpi.b D6, 0x8
00004F9A 6606 bne +0x8 /* 00004FA2 */
00004F9C 0C47 0001 cmpi.w D7, 0x1
00004FA0 6F14 ble +0x16 /* 00004FB6 */
label00004FA2:
00004FA2 41EE 0000 lea.l A0, [A6 + 0x0]
00004FA6 2F20 move.l -[A7], -[A0]
00004FA8 2F20 move.l -[A7], -[A0]
00004FAA 2F0B move.l -[A7], A3
00004FAC 4EAD 0992 jsr [A5 + 0x992 /* export_302 */]
00004FB0 4FEF 000C lea.l A7, [A7 + 0xC]
00004FB4 6018 bra +0x1A /* 00004FCE */
label00004FB6:
00004FB6 2F2D EA3A move.l -[A7], [A5 - 0x15C6]
00004FBA 4EAD 081A jsr [A5 + 0x81A /* export_255 */]
00004FBE 41EE 0000 lea.l A0, [A6 + 0x0]
00004FC2 2F20 move.l -[A7], -[A0]
00004FC4 2F20 move.l -[A7], -[A0]
00004FC6 4EAD 08CA jsr [A5 + 0x8CA /* export_277 */]
00004FCA 4FEF 000C lea.l A7, [A7 + 0xC]
label00004FCE:
00004FCE 4CEE 18C0 FFDC movem.l D6,D7,A3,A4, [A6 - 0x24]
00004FD4 4E5E unlink A6
00004FD6 4E75 rts
fn00004FD8:
00004FD8 2F07 move.l -[A7], D7
00004FDA 102F 000B move.b D0, [A7 + 0xB]
00004FDE 5100 subq.b D0, 8
00004FE0 652A bcs +0x2C /* 0000500C */
00004FE2 0C00 0005 cmpi.b D0, 0x5
00004FE6 6224 bhi +0x26 /* 0000500C */
00004FE8 7200 moveq.l D1, 0x00
00004FEA 1200 move.b D1, D0
00004FEC D241 add.w D1, D1
00004FEE 323B 1006 move.w D1, [PC + D1.w + 0x6]
00004FF2 4EFB 1000 jmp [PC + D1.w]
00004FF6 0016 0018 ori.b [A6], 0x18
00004FFA 0018 0018 ori.b [A0]+, 0x18
00004FFE 0012 000E ori.b [A2], 0xE
00005002 7E00 moveq.l D7, 0x00
00005004 6006 bra +0x8 /* 0000500C */
00005006 7E01 moveq.l D7, 0x01
00005008 6002 bra +0x4 /* 0000500C */
0000500A 7E02 moveq.l D7, 0x02
label0000500C:
0000500C 2007 move.l D0, D7
0000500E 2E1F move.l D7, [A7]+
00005010 4E75 rts
export_82:
fn00005012:
00005012 4E56 FFFA link A6, -0x0006
00005016 48E7 0F10 movem.l -[A7], D4,D5,D6,D7,A3
0000501A 4246 clr.w D6
0000501C 4A6E 000E tst.w [A6 + 0xE]
00005020 6652 bne +0x54 /* 00005074 */
00005022 7000 moveq.l D0, 0x00
00005024 102E 0008 move.b D0, [A6 + 0x8]
00005028 E148 lsl D0.w, 8
0000502A 7200 moveq.l D1, 0x00
0000502C 122E 0008 move.b D1, [A6 + 0x8]
00005030 8240 or.w D1, D0
00005032 3D41 FFFA move.w [A6 - 0x6], D1
00005036 7000 moveq.l D0, 0x00
00005038 102E 0009 move.b D0, [A6 + 0x9]
0000503C E148 lsl D0.w, 8
0000503E 7200 moveq.l D1, 0x00
00005040 122E 0009 move.b D1, [A6 + 0x9]
00005044 8240 or.w D1, D0
00005046 3D41 FFFC move.w [A6 - 0x4], D1
0000504A 7000 moveq.l D0, 0x00
0000504C 102E 000A move.b D0, [A6 + 0xA]
00005050 E148 lsl D0.w, 8
00005052 7200 moveq.l D1, 0x00
00005054 122E 000A move.b D1, [A6 + 0xA]
00005058 8240 or.w D1, D0
0000505A 3D41 FFFE move.w [A6 - 0x2], D1
0000505E 558F subq.l A7, 2
00005060 486E FFFA pea.l [A6 - 0x6]
00005064 4EAD 1C3A jsr [A5 + 0x1C3A /* export_899 */]
00005068 381F move.w D4, [A7]+
0000506A 558F subq.l A7, 2
0000506C 3F04 move.w -[A7], D4
0000506E 4EAD 1C52 jsr [A5 + 0x1C52 /* export_902 */]
00005072 3C1F move.w D6, [A7]+
label00005074:
00005074 206D B3D4 movea.l A0, [A5 - 0x4C2C]
00005078 2668 0008 movea.l A3, [A0 + 0x8]
0000507C 2F0B move.l -[A7], A3
0000507E A948 syscall CalcMenuSize
00005080 558F subq.l A7, 2
00005082 2F0B move.l -[A7], A3
00005084 A950 syscall CountMItems
00005086 3A1F move.w D5, [A7]+
00005088 7E01 moveq.l D7, 0x01
0000508A 601C bra +0x1E /* 000050A8 */
label0000508C:
0000508C BE46 cmp.w D7, D6
0000508E 660C bne +0xE /* 0000509C */
00005090 2F0B move.l -[A7], A3
00005092 3F07 move.w -[A7], D7
00005094 7001 moveq.l D0, 0x01
00005096 1F00 move.b -[A7], D0
00005098 A945 syscall CheckItem
0000509A 600A bra +0xC /* 000050A6 */
label0000509C:
0000509C 2F0B move.l -[A7], A3
0000509E 3F07 move.w -[A7], D7
000050A0 7000 moveq.l D0, 0x00
000050A2 1F00 move.b -[A7], D0
000050A4 A945 syscall CheckItem
label000050A6:
000050A6 5247 addq.w D7, 1
label000050A8:
000050A8 BA47 cmp.w D5, D7
000050AA 6EE0 bgt -0x1E /* 0000508C */
000050AC 4CEE 08F0 FFE6 movem.l D4,D5,D6,D7,A3, [A6 - 0x1A]
000050B2 4E5E unlink A6
000050B4 4E75 rts
export_83:
000050B6 4E56 FFFA link A6, -0x0006
000050BA 2F0B move.l -[A7], A3
000050BC 266E 000C movea.l A3, [A6 + 0xC]
000050C0 486E FFFA pea.l [A6 - 0x6]
000050C4 3F2E 000A move.w -[A7], [A6 + 0xA]
000050C8 4EAD 1C42 jsr [A5 + 0x1C42 /* export_900 */]
000050CC 7000 moveq.l D0, 0x00
000050CE 302E FFFA move.w D0, [A6 - 0x6]
000050D2 E088 lsr D0, 8
000050D4 1680 move.b [A3], D0
000050D6 7000 moveq.l D0, 0x00
000050D8 302E FFFC move.w D0, [A6 - 0x4]
000050DC E088 lsr D0, 8
000050DE 1740 0001 move.b [A3 + 0x1], D0
000050E2 7000 moveq.l D0, 0x00
000050E4 302E FFFE move.w D0, [A6 - 0x2]
000050E8 E088 lsr D0, 8
000050EA 1740 0002 move.b [A3 + 0x2], D0
000050EE 177C 0001 0003 move.b [A3 + 0x3], 0x1
000050F4 266E FFF6 movea.l A3, [A6 - 0xA]
000050F8 4E5E unlink A6
000050FA 4E75 rts
export_84:
000050FC 4E56 FEB2 link A6, -0x014E
00005100 48E7 0118 movem.l -[A7], D7,A3,A4
00005104 49EE FEEC lea.l A4, [A6 - 0x114]
00005108 266E 0008 movea.l A3, [A6 + 0x8]
0000510C 598F subq.l A7, 4
0000510E 7008 moveq.l D0, 0x08
00005110 2F00 move.l -[A7], D0
00005112 4EBA 13B8 jsr [PC + 0x13B8 /* 000064CC */]
00005116 269F move.l [A3], [A7]+
00005118 6608 bne +0xA /* 00005122 */
0000511A 422E 000C clr.b [A6 + 0xC]
0000511E 6000 0150 bra +0x152 /* 00005270 */
label00005122:
00005122 558F subq.l A7, 2
00005124 2F0C move.l -[A7], A4
00005126 2053 movea.l A0, [A3]
00005128 2050 movea.l A0, [A0]
0000512A 2F08 move.l -[A7], A0
0000512C 4EBA 1638 jsr [PC + 0x1638 /* 00006766 */]
00005130 558F subq.l A7, 2
00005132 7001 moveq.l D0, 0x01
00005134 3F00 move.w -[A7], D0
00005136 486E FFF0 pea.l [A6 - 0x10]
0000513A 4EBA 1C44 jsr [PC + 0x1C44 /* 00006D80 */]
0000513E 2053 movea.l A0, [A3]
00005140 2050 movea.l A0, [A0]
00005142 316E FFFE 0002 move.w [A0 + 0x2], [A6 - 0x2]
00005148 598F subq.l A7, 4
0000514A 3F3C A1AD move.w -[A7], 0xA1AD
0000514E 7000 moveq.l D0, 0x00
00005150 1F00 move.b -[A7], D0
00005152 4EBA 144C jsr [PC + 0x144C /* 000065A0 */]
00005156 598F subq.l A7, 4
00005158 3F3C A89F move.w -[A7], 0xA89F
0000515C 7001 moveq.l D0, 0x01
0000515E 1F00 move.b -[A7], D0
00005160 4EBA 143E jsr [PC + 0x143E /* 000065A0 */]
00005164 201F move.l D0, [A7]+
00005166 B09F cmp.l D0, [A7]+
00005168 588F addq.l A7, 4
0000516A 6614 bne +0x16 /* 00005180 */
0000516C 2053 movea.l A0, [A3]
0000516E 2050 movea.l A0, [A0]
00005170 4228 0006 clr.b [A0 + 0x6]
00005174 2053 movea.l A0, [A3]
00005176 2050 movea.l A0, [A0]
00005178 4228 0007 clr.b [A0 + 0x7]
0000517C 6000 00EC bra +0xEE /* 0000526A */
label00005180:
00005180 2053 movea.l A0, [A3]
00005182 2050 movea.l A0, [A0]
00005184 4228 0006 clr.b [A0 + 0x6]
00005188 558F subq.l A7, 2
0000518A 2F3C 616C 6973 move.l -[A7], 0x616C6973 /* 'alis' */
00005190 486E FFEC pea.l [A6 - 0x14]
00005194 4EBA 1D54 jsr [PC + 0x1D54 /* 00006EEA */]
00005198 4A5F tst.w [A7]+
0000519A 663E bne +0x40 /* 000051DA */
0000519C 558F subq.l A7, 2
0000519E 486E FFEC pea.l [A6 - 0x14]
000051A2 701F moveq.l D0, 0x1F
000051A4 2F00 move.l -[A7], D0
000051A6 A85D syscall BitTst
000051A8 4A1F tst.b [A7]+
000051AA 672E beq +0x30 /* 000051DA */
000051AC 558F subq.l A7, 2
000051AE 2F3C 6673 2020 move.l -[A7], 0x66732020 /* 'fs ' */
000051B4 486E FFEC pea.l [A6 - 0x14]
000051B8 4EBA 1D30 jsr [PC + 0x1D30 /* 00006EEA */]
000051BC 4A5F tst.w [A7]+
000051BE 661A bne +0x1C /* 000051DA */
000051C0 558F subq.l A7, 2
000051C2 486E FFEC pea.l [A6 - 0x14]
000051C6 701E moveq.l D0, 0x1E
000051C8 2F00 move.l -[A7], D0
000051CA A85D syscall BitTst
000051CC 4A1F tst.b [A7]+
000051CE 670A beq +0xC /* 000051DA */
000051D0 2053 movea.l A0, [A3]
000051D2 2050 movea.l A0, [A0]
000051D4 117C 0001 0006 move.b [A0 + 0x6], 0x1
label000051DA:
000051DA 2053 movea.l A0, [A3]
000051DC 2050 movea.l A0, [A0]
000051DE 4228 0007 clr.b [A0 + 0x7]
000051E2 558F subq.l A7, 2
000051E4 2F3C 666F 6C64 move.l -[A7], 0x666F6C64 /* 'fold' */
000051EA 486E FFEC pea.l [A6 - 0x14]
000051EE 4EBA 1CFA jsr [PC + 0x1CFA /* 00006EEA */]
000051F2 4A5F tst.w [A7]+
000051F4 6674 bne +0x76 /* 0000526A */
000051F6 558F subq.l A7, 2
000051F8 486E FFEC pea.l [A6 - 0x14]
000051FC 701F moveq.l D0, 0x1F
000051FE 2F00 move.l -[A7], D0
00005200 A85D syscall BitTst
00005202 4A1F tst.b [A7]+
00005204 6764 beq +0x66 /* 0000526A */
00005206 558F subq.l A7, 2
00005208 3F3C 8000 move.w -[A7], 0x8000
0000520C 2F3C 6578 746E move.l -[A7], 0x6578746E /* 'extn' */
00005212 7000 moveq.l D0, 0x00
00005214 1F00 move.b -[A7], D0
00005216 486E FEEA pea.l [A6 - 0x116]
0000521A 486E FEE6 pea.l [A6 - 0x11A]
0000521E 7000 moveq.l D0, 0x00
00005220 A823 syscall AliasDispatch
00005222 3E1F move.w D7, [A7]+
00005224 6644 bne +0x46 /* 0000526A */
00005226 7000 moveq.l D0, 0x00
00005228 2D40 FEBE move.l [A6 - 0x142], D0
0000522C 2D40 FEC4 move.l [A6 - 0x13C], D0
00005230 2D7C 4552 494B FECE move.l [A6 - 0x132], 0x4552494B /* 'ERIK' */
00005238 3D6E FEEA FEC8 move.w [A6 - 0x138], [A6 - 0x116]
0000523E 2D6E FEE6 FEE2 move.l [A6 - 0x11E], [A6 - 0x11A]
00005244 558F subq.l A7, 2
00005246 486E FEB2 pea.l [A6 - 0x14E]
0000524A 7200 moveq.l D1, 0x00
0000524C 1F01 move.b -[A7], D1
0000524E 4EBA 16F2 jsr [PC + 0x16F2 /* 00006942 */]
00005252 4A5F tst.w [A7]+
00005254 6614 bne +0x16 /* 0000526A */
00005256 2053 movea.l A0, [A3]
00005258 2050 movea.l A0, [A0]
0000525A 117C 0001 0007 move.b [A0 + 0x7], 0x1
00005260 2053 movea.l A0, [A3]
00005262 2050 movea.l A0, [A0]
00005264 316E FEC8 0004 move.w [A0 + 0x4], [A6 - 0x138]
label0000526A:
0000526A 1D7C 0001 000C move.b [A6 + 0xC], 0x1
label00005270:
00005270 4CEE 1880 FEA6 movem.l D7,A3,A4, [A6 - 0x15A]
00005276 4E5E unlink A6
00005278 2E9F move.l [A7], [A7]+
0000527A 4E75 rts
export_85:
fn0000527C:
0000527C 4E56 FE0A link A6, -0x01F6
00005280 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00005284 286E 0014 movea.l A4, [A6 + 0x14]
00005288 2C2E 0018 move.l D6, [A6 + 0x18]
0000528C 266E 0010 movea.l A3, [A6 + 0x10]
00005290 7E01 moveq.l D7, 0x01
00005292 7000 moveq.l D0, 0x00
00005294 2D40 FE90 move.l [A6 - 0x170], D0
00005298 2D40 FE96 move.l [A6 - 0x16A], D0
0000529C 2D7C 4552 494B FEA0 move.l [A6 - 0x160], 0x4552494B /* 'ERIK' */
000052A4 3238 0214 move.w D1, [0x00000214 /* SFSaveDisk */]
000052A8 4441 neg.w D1
000052AA 3D41 FE9A move.w [A6 - 0x166], D1
000052AE 2D78 0398 FEB4 move.l [A6 - 0x14C], [0x00000398 /* CurDirStore */]
000052B4 558F subq.l A7, 2
000052B6 486E FE84 pea.l [A6 - 0x17C]
000052BA 7200 moveq.l D1, 0x00
000052BC 1F01 move.b -[A7], D1
000052BE 4EBA 1682 jsr [PC + 0x1682 /* 00006942 */]
000052C2 36AE FE9A move.w [A3], [A6 - 0x166]
000052C6 3D6E FE9A FE20 move.w [A6 - 0x1E0], [A6 - 0x166]
000052CC 2D6E 001C FE1C move.l [A6 - 0x1E4], [A6 + 0x1C]
000052D2 2F0B move.l -[A7], A3
000052D4 2054 movea.l A0, [A4]
000052D6 7000 moveq.l D0, 0x00
000052D8 1028 0006 move.b D0, [A0 + 0x6]
000052DC 2F00 move.l -[A7], D0
000052DE 2F06 move.l -[A7], D6
000052E0 486E FE0A pea.l [A6 - 0x1F6]
000052E4 4EBA 0302 jsr [PC + 0x302 /* 000055E8 */]
000052E8 3E00 move.w D7, D0
000052EA 4FEF 0012 lea.l A7, [A7 + 0x12]
000052EE 6700 01C8 beq +0x1CA /* 000054B8 */
000052F2 2054 movea.l A0, [A4]
000052F4 3690 move.w [A3], [A0]
000052F6 3D50 FE20 move.w [A6 - 0x1E0], [A0]
000052FA 2F0B move.l -[A7], A3
000052FC 2054 movea.l A0, [A4]
000052FE 7000 moveq.l D0, 0x00
00005300 1028 0006 move.b D0, [A0 + 0x6]
00005304 2F00 move.l -[A7], D0
00005306 2F06 move.l -[A7], D6
00005308 486E FE0A pea.l [A6 - 0x1F6]
0000530C 4EBA 02DA jsr [PC + 0x2DA /* 000055E8 */]
00005310 3E00 move.w D7, D0
00005312 4FEF 0010 lea.l A7, [A7 + 0x10]
00005316 6700 01A0 beq +0x1A2 /* 000054B8 */
0000531A 2054 movea.l A0, [A4]
0000531C 36A8 0002 move.w [A3], [A0 + 0x2]
00005320 3D68 0002 FE20 move.w [A6 - 0x1E0], [A0 + 0x2]
00005326 2F0B move.l -[A7], A3
00005328 2054 movea.l A0, [A4]
0000532A 7000 moveq.l D0, 0x00
0000532C 1028 0006 move.b D0, [A0 + 0x6]
00005330 2F00 move.l -[A7], D0
00005332 2F06 move.l -[A7], D6
00005334 486E FE0A pea.l [A6 - 0x1F6]
00005338 4EBA 02AE jsr [PC + 0x2AE /* 000055E8 */]
0000533C 3E00 move.w D7, D0
0000533E 4FEF 0010 lea.l A7, [A7 + 0x10]
00005342 6700 0174 beq +0x176 /* 000054B8 */
00005346 2054 movea.l A0, [A4]
00005348 3D68 0002 FE9A move.w [A6 - 0x166], [A0 + 0x2]
0000534E 7000 moveq.l D0, 0x00
00005350 2D40 FEB4 move.l [A6 - 0x14C], D0
00005354 486E FF00 pea.l [A6 - 0x100]
00005358 3F3C 61AB move.w -[A7], 0x61AB
0000535C 7A01 moveq.l D5, 0x01
0000535E 3F05 move.w -[A7], D5
00005360 4EBA 1984 jsr [PC + 0x1984 /* 00006CE6 */]
00005364 6000 0112 bra +0x114 /* 00005478 */
label00005368:
00005368 41EE FF00 lea.l A0, [A6 - 0x100]
0000536C 2D48 FE96 move.l [A6 - 0x16A], A0
00005370 558F subq.l A7, 2
00005372 486E FE84 pea.l [A6 - 0x17C]
00005376 7000 moveq.l D0, 0x00
00005378 1F00 move.b -[A7], D0
0000537A 4EBA 15C6 jsr [PC + 0x15C6 /* 00006942 */]
0000537E 4A5F tst.w [A7]+
00005380 662A bne +0x2C /* 000053AC */
00005382 36AE FE9A move.w [A3], [A6 - 0x166]
00005386 3D6E FE9A FE20 move.w [A6 - 0x1E0], [A6 - 0x166]
0000538C 2F0B move.l -[A7], A3
0000538E 2054 movea.l A0, [A4]
00005390 7000 moveq.l D0, 0x00
00005392 1028 0006 move.b D0, [A0 + 0x6]
00005396 2F00 move.l -[A7], D0
00005398 2F06 move.l -[A7], D6
0000539A 486E FE0A pea.l [A6 - 0x1F6]
0000539E 4EBA 0248 jsr [PC + 0x248 /* 000055E8 */]
000053A2 3E00 move.w D7, D0
000053A4 4FEF 0010 lea.l A7, [A7 + 0x10]
000053A8 6000 00BE bra +0xC0 /* 00005468 */
label000053AC:
000053AC 4A47 tst.w D7
000053AE 6700 00B8 beq +0xBA /* 00005468 */
000053B2 2054 movea.l A0, [A4]
000053B4 4A28 0006 tst.b [A0 + 0x6]
000053B8 6700 00AE beq +0xB0 /* 00005468 */
000053BC 558F subq.l A7, 2
000053BE 3F2E FE9A move.w -[A7], [A6 - 0x166]
000053C2 7000 moveq.l D0, 0x00
000053C4 2F00 move.l -[A7], D0
000053C6 486E FF00 pea.l [A6 - 0x100]
000053CA 486E FEBA pea.l [A6 - 0x146]
000053CE 303C 0001 move.w D0, 0x1
000053D2 AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
000053D4 4A5F tst.w [A7]+
000053D6 6600 0090 bne +0x92 /* 00005468 */
000053DA 558F subq.l A7, 2
000053DC 486E FEBA pea.l [A6 - 0x146]
000053E0 7001 moveq.l D0, 0x01
000053E2 1F00 move.b -[A7], D0
000053E4 486E FEB8 pea.l [A6 - 0x148]
000053E8 486E FEB9 pea.l [A6 - 0x147]
000053EC 700C moveq.l D0, 0x0C
000053EE A823 syscall AliasDispatch
000053F0 4A5F tst.w [A7]+
000053F2 6674 bne +0x76 /* 00005468 */
000053F4 4A2E FEB8 tst.b [A6 - 0x148]
000053F8 676E beq +0x70 /* 00005468 */
000053FA 4A2E FEB9 tst.b [A6 - 0x147]
000053FE 6768 beq +0x6A /* 00005468 */
00005400 3D6E FEBA FE9A move.w [A6 - 0x166], [A6 - 0x146]
00005406 2D6E FEBC FEB4 move.l [A6 - 0x14C], [A6 - 0x144]
0000540C 558F subq.l A7, 2
0000540E 486E FE84 pea.l [A6 - 0x17C]
00005412 7000 moveq.l D0, 0x00
00005414 1F00 move.b -[A7], D0
00005416 4EBA 152A jsr [PC + 0x152A /* 00006942 */]
0000541A 4A5F tst.w [A7]+
0000541C 6638 bne +0x3A /* 00005456 */
0000541E 36AE FE9A move.w [A3], [A6 - 0x166]
00005422 3D6E FE9A FE20 move.w [A6 - 0x1E0], [A6 - 0x166]
00005428 2F0B move.l -[A7], A3
0000542A 2054 movea.l A0, [A4]
0000542C 7000 moveq.l D0, 0x00
0000542E 1028 0006 move.b D0, [A0 + 0x6]
00005432 2F00 move.l -[A7], D0
00005434 2F06 move.l -[A7], D6
00005436 486E FE0A pea.l [A6 - 0x1F6]
0000543A 4EBA 01AC jsr [PC + 0x1AC /* 000055E8 */]
0000543E 3E00 move.w D7, D0
00005440 4FEF 0010 lea.l A7, [A7 + 0x10]
00005444 6610 bne +0x12 /* 00005456 */
00005446 206E 000C movea.l A0, [A6 + 0xC]
0000544A 30AE FEBA move.w [A0], [A6 - 0x146]
0000544E 206E 0008 movea.l A0, [A6 + 0x8]
00005452 20AE FEBC move.l [A0], [A6 - 0x144]
label00005456:
00005456 4A47 tst.w D7
00005458 670E beq +0x10 /* 00005468 */
0000545A 2054 movea.l A0, [A4]
0000545C 3D68 0002 FE9A move.w [A6 - 0x166], [A0 + 0x2]
00005462 7000 moveq.l D0, 0x00
00005464 2D40 FEB4 move.l [A6 - 0x14C], D0
label00005468:
00005468 486E FF00 pea.l [A6 - 0x100]
0000546C 3F3C 61AB move.w -[A7], 0x61AB
00005470 5245 addq.w D5, 1
00005472 3F05 move.w -[A7], D5
00005474 4EBA 1870 jsr [PC + 0x1870 /* 00006CE6 */]
label00005478:
00005478 4A47 tst.w D7
0000547A 6708 beq +0xA /* 00005484 */
0000547C 4A2E FF00 tst.b [A6 - 0x100]
00005480 6600 FEE6 bne -0x118 /* 00005368 */
label00005484:
00005484 4A47 tst.w D7
00005486 6730 beq +0x32 /* 000054B8 */
00005488 2054 movea.l A0, [A4]
0000548A 4A28 0007 tst.b [A0 + 0x7]
0000548E 6728 beq +0x2A /* 000054B8 */
00005490 2054 movea.l A0, [A4]
00005492 36A8 0004 move.w [A3], [A0 + 0x4]
00005496 3D68 0004 FE20 move.w [A6 - 0x1E0], [A0 + 0x4]
0000549C 2F0B move.l -[A7], A3
0000549E 2054 movea.l A0, [A4]
000054A0 7000 moveq.l D0, 0x00
000054A2 1028 0006 move.b D0, [A0 + 0x6]
000054A6 2F00 move.l -[A7], D0
000054A8 2F06 move.l -[A7], D6
000054AA 486E FE0A pea.l [A6 - 0x1F6]
000054AE 4EBA 0138 jsr [PC + 0x138 /* 000055E8 */]
000054B2 3E00 move.w D7, D0
000054B4 4FEF 0010 lea.l A7, [A7 + 0x10]
label000054B8:
000054B8 206E 000C movea.l A0, [A6 + 0xC]
000054BC 30AE FE20 move.w [A0], [A6 - 0x1E0]
000054C0 206E 0008 movea.l A0, [A6 + 0x8]
000054C4 20AE FE3A move.l [A0], [A6 - 0x1C6]
000054C8 4A47 tst.w D7
000054CA 6600 00A8 bne +0xAA /* 00005574 */
000054CE 2054 movea.l A0, [A4]
000054D0 4A28 0006 tst.b [A0 + 0x6]
000054D4 6700 009E beq +0xA0 /* 00005574 */
000054D8 558F subq.l A7, 2
000054DA 3F2E FE20 move.w -[A7], [A6 - 0x1E0]
000054DE 2F2E FE3A move.l -[A7], [A6 - 0x1C6]
000054E2 2F2E FE1C move.l -[A7], [A6 - 0x1E4]
000054E6 486E FEBA pea.l [A6 - 0x146]
000054EA 303C 0001 move.w D0, 0x1
000054EE AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
000054F0 4A5F tst.w [A7]+
000054F2 6708 beq +0xA /* 000054FC */
000054F4 422E 0020 clr.b [A6 + 0x20]
000054F8 6000 0086 bra +0x88 /* 00005580 */
label000054FC:
000054FC 558F subq.l A7, 2
000054FE 486E FEBA pea.l [A6 - 0x146]
00005502 7001 moveq.l D0, 0x01
00005504 1F00 move.b -[A7], D0
00005506 486E FEB8 pea.l [A6 - 0x148]
0000550A 486E FEB9 pea.l [A6 - 0x147]
0000550E 700C moveq.l D0, 0x0C
00005510 A823 syscall AliasDispatch
00005512 4A5F tst.w [A7]+
00005514 6706 beq +0x8 /* 0000551C */
00005516 422E 0020 clr.b [A6 + 0x20]
0000551A 6064 bra +0x66 /* 00005580 */
label0000551C:
0000551C 4A2E FEB8 tst.b [A6 - 0x148]
00005520 6706 beq +0x8 /* 00005528 */
00005522 422E 0020 clr.b [A6 + 0x20]
00005526 6058 bra +0x5A /* 00005580 */
label00005528:
00005528 4A2E FEB9 tst.b [A6 - 0x147]
0000552C 6746 beq +0x48 /* 00005574 */
0000552E 3D6E FEBA FE9A move.w [A6 - 0x166], [A6 - 0x146]
00005534 2D6E FEBC FEB4 move.l [A6 - 0x14C], [A6 - 0x144]
0000553A 7000 moveq.l D0, 0x00
0000553C 2D40 FE96 move.l [A6 - 0x16A], D0
00005540 2D7C 4552 494B FEA0 move.l [A6 - 0x160], 0x4552494B /* 'ERIK' */
00005548 558F subq.l A7, 2
0000554A 486E FE84 pea.l [A6 - 0x17C]
0000554E 7200 moveq.l D1, 0x00
00005550 1F01 move.b -[A7], D1
00005552 4EBA 13EE jsr [PC + 0x13EE /* 00006942 */]
00005556 4A5F tst.w [A7]+
00005558 6706 beq +0x8 /* 00005560 */
0000555A 422E 0020 clr.b [A6 + 0x20]
0000555E 6020 bra +0x22 /* 00005580 */
label00005560:
00005560 36AE FE9A move.w [A3], [A6 - 0x166]
00005564 206E 000C movea.l A0, [A6 + 0xC]
00005568 30AE FEBA move.w [A0], [A6 - 0x146]
0000556C 206E 0008 movea.l A0, [A6 + 0x8]
00005570 20AE FEBC move.l [A0], [A6 - 0x144]
label00005574:
00005574 7000 moveq.l D0, 0x00
00005576 4A47 tst.w D7
00005578 57C0 seq D0
0000557A 4400 neg.b D0
0000557C 1D40 0020 move.b [A6 + 0x20], D0
label00005580:
00005580 4CEE 18E0 FDF6 movem.l D5,D6,D7,A3,A4, [A6 - 0x20A]
00005586 4E5E unlink A6
00005588 205F movea.l A0, [A7]+
0000558A DEFC 0018 add.w A7, 0x18
0000558E 4ED0 jmp [A0]
fn00005590:
00005590 4E56 FFCC link A6, -0x0034
00005594 48E7 0110 movem.l -[A7], D7,A3
00005598 266E 0008 movea.l A3, [A6 + 0x8]
0000559C 4247 clr.w D7
0000559E 7000 moveq.l D0, 0x00
000055A0 2D40 FFD8 move.l [A6 - 0x28], D0
000055A4 2D40 FFDE move.l [A6 - 0x22], D0
000055A8 3D6B 0016 FFE2 move.w [A6 - 0x1E], [A3 + 0x16]
000055AE 426E FFE6 clr.w [A6 - 0x1A]
000055B2 2D7C 4552 494B FFE8 move.l [A6 - 0x18], 0x4552494B /* 'ERIK' */
000055BA 3D6E FFE2 FFEC move.w [A6 - 0x14], [A6 - 0x1E]
000055C0 558F subq.l A7, 2
000055C2 486E FFCC pea.l [A6 - 0x34]
000055C6 7200 moveq.l D1, 0x00
000055C8 1F01 move.b -[A7], D1
000055CA 4EBA 138C jsr [PC + 0x138C /* 00006958 */]
000055CE 3E1F move.w D7, [A7]+
000055D0 376E FFEC 0016 move.w [A3 + 0x16], [A6 - 0x14]
000055D6 276E FFFC 0030 move.l [A3 + 0x30], [A6 - 0x4]
000055DC 3007 move.w D0, D7
000055DE 4CEE 0880 FFC4 movem.l D7,A3, [A6 - 0x3C]
000055E4 4E5E unlink A6
000055E6 4E75 rts
fn000055E8:
000055E8 4E56 FF80 link A6, -0x0080
000055EC 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
000055F0 286E 0014 movea.l A4, [A6 + 0x14]
000055F4 2A2E 000C move.l D5, [A6 + 0xC]
000055F8 266E 0008 movea.l A3, [A6 + 0x8]
000055FC 7C01 moveq.l D6, 0x01
000055FE 422B 001A clr.b [A3 + 0x1A]
00005602 7000 moveq.l D0, 0x00
00005604 2740 000C move.l [A3 + 0xC], D0
00005608 426B 001C clr.w [A3 + 0x1C]
0000560C 2F0B move.l -[A7], A3
0000560E 4EBA FF80 jsr [PC - 0x80 /* 00005590 */]
00005612 4A40 tst.w D0
00005614 588F addq.l A7, 4
00005616 6600 0134 bne +0x136 /* 0000574C */
0000561A 2E2B 0030 move.l D7, [A3 + 0x30]
0000561E 558F subq.l A7, 2
00005620 2F0B move.l -[A7], A3
00005622 7000 moveq.l D0, 0x00
00005624 1F00 move.b -[A7], D0
00005626 4EBA 1416 jsr [PC + 0x1416 /* 00006A3E */]
0000562A 4A5F tst.w [A7]+
0000562C 6614 bne +0x16 /* 00005642 */
0000562E 7000 moveq.l D0, 0x00
00005630 4A85 tst.l D5
00005632 6708 beq +0xA /* 0000563C */
00005634 BAAB 0020 cmp.l D5, [A3 + 0x20]
00005638 6702 beq +0x4 /* 0000563C */
0000563A 7001 moveq.l D0, 0x01
label0000563C:
0000563C 3C00 move.w D6, D0
0000563E 2747 0030 move.l [A3 + 0x30], D7
label00005642:
00005642 4A46 tst.w D6
00005644 6700 0106 beq +0x108 /* 0000574C */
00005648 4A2E 0013 tst.b [A6 + 0x13]
0000564C 6700 00FE beq +0x100 /* 0000574C */
00005650 206B 0012 movea.l A0, [A3 + 0x12]
00005654 703A moveq.l D0, 0x3A
00005656 B028 0001 cmp.b D0, [A0 + 0x1]
0000565A 6600 00F0 bne +0xF2 /* 0000574C */
0000565E 7802 moveq.l D4, 0x02
00005660 6002 bra +0x4 /* 00005664 */
label00005662:
00005662 5244 addq.w D4, 1
label00005664:
00005664 206B 0012 movea.l A0, [A3 + 0x12]
00005668 703A moveq.l D0, 0x3A
0000566A B030 4000 cmp.b D0, [A0 + D4.w]
0000566E 670E beq +0x10 /* 0000567E */
00005670 48C4 ext.l D4
00005672 206B 0012 movea.l A0, [A3 + 0x12]
00005676 7000 moveq.l D0, 0x00
00005678 1010 move.b D0, [A0]
0000567A B084 cmp.l D0, D4
0000567C 6EE4 bgt -0x1A /* 00005662 */
label0000567E:
0000567E 206B 0012 movea.l A0, [A3 + 0x12]
00005682 7000 moveq.l D0, 0x00
00005684 1010 move.b D0, [A0]
00005686 3D40 FFB4 move.w [A6 - 0x4C], D0
0000568A 5344 subq.w D4, 1
0000568C 3D44 FFB6 move.w [A6 - 0x4A], D4
00005690 206B 0012 movea.l A0, [A3 + 0x12]
00005694 1084 move.b [A0], D4
00005696 558F subq.l A7, 2
00005698 3F2B 0016 move.w -[A7], [A3 + 0x16]
0000569C 2F07 move.l -[A7], D7
0000569E 2F2B 0012 move.l -[A7], [A3 + 0x12]
000056A2 486E FFB8 pea.l [A6 - 0x48]
000056A6 303C 0001 move.w D0, 0x1
000056AA AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
000056AC 4A5F tst.w [A7]+
000056AE 670C beq +0xE /* 000056BC */
000056B0 206B 0012 movea.l A0, [A3 + 0x12]
000056B4 10AE FFB5 move.b [A0], [A6 - 0x4B]
000056B8 6000 0092 bra +0x94 /* 0000574C */
label000056BC:
000056BC 206B 0012 movea.l A0, [A3 + 0x12]
000056C0 10AE FFB5 move.b [A0], [A6 - 0x4B]
000056C4 558F subq.l A7, 2
000056C6 486E FFB8 pea.l [A6 - 0x48]
000056CA 7001 moveq.l D0, 0x01
000056CC 1F00 move.b -[A7], D0
000056CE 486E FFFE pea.l [A6 - 0x2]
000056D2 486E FFFF pea.l [A6 - 0x1]
000056D6 700C moveq.l D0, 0x0C
000056D8 A823 syscall AliasDispatch
000056DA 4A5F tst.w [A7]+
000056DC 666E bne +0x70 /* 0000574C */
000056DE 4A2E FFFE tst.b [A6 - 0x2]
000056E2 6768 beq +0x6A /* 0000574C */
000056E4 4A2E FFFF tst.b [A6 - 0x1]
000056E8 6762 beq +0x64 /* 0000574C */
000056EA 3D6E FFB8 FF96 move.w [A6 - 0x6A], [A6 - 0x48]
000056F0 2D6E FFBA FFB0 move.l [A6 - 0x50], [A6 - 0x46]
000056F6 2E2E FFBA move.l D7, [A6 - 0x46]
000056FA 7000 moveq.l D0, 0x00
000056FC 2D40 FF92 move.l [A6 - 0x6E], D0
00005700 2D7C 4552 494B FF9C move.l [A6 - 0x64], 0x4552494B /* 'ERIK' */
00005708 558F subq.l A7, 2
0000570A 486E FF80 pea.l [A6 - 0x80]
0000570E 7200 moveq.l D1, 0x00
00005710 1F01 move.b -[A7], D1
00005712 4EBA 122E jsr [PC + 0x122E /* 00006942 */]
00005716 4A5F tst.w [A7]+
00005718 6632 bne +0x34 /* 0000574C */
0000571A 376E FF96 0016 move.w [A3 + 0x16], [A6 - 0x6A]
00005720 2747 0030 move.l [A3 + 0x30], D7
00005724 558F subq.l A7, 2
00005726 2F0B move.l -[A7], A3
00005728 7000 moveq.l D0, 0x00
0000572A 1F00 move.b -[A7], D0
0000572C 4EBA 1310 jsr [PC + 0x1310 /* 00006A3E */]
00005730 4A5F tst.w [A7]+
00005732 6618 bne +0x1A /* 0000574C */
00005734 7000 moveq.l D0, 0x00
00005736 4A85 tst.l D5
00005738 6708 beq +0xA /* 00005742 */
0000573A BAAB 0020 cmp.l D5, [A3 + 0x20]
0000573E 6702 beq +0x4 /* 00005742 */
00005740 7001 moveq.l D0, 0x01
label00005742:
00005742 3C00 move.w D6, D0
00005744 2747 0030 move.l [A3 + 0x30], D7
00005748 38AE FF96 move.w [A4], [A6 - 0x6A]
label0000574C:
0000574C 3006 move.w D0, D6
0000574E 4CEE 18F0 FF68 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x98]
00005754 4E5E unlink A6
00005756 4E75 rts
export_86:
00005758 4E56 FFF4 link A6, -0x000C
0000575C 48E7 0118 movem.l -[A7], D7,A3,A4
00005760 286E 0008 movea.l A4, [A6 + 0x8]
00005764 47EE FFF4 lea.l A3, [A6 - 0xC]
00005768 3E2E 000E move.w D7, [A6 + 0xE]
0000576C 2F0C move.l -[A7], A4
0000576E 3F07 move.w -[A7], D7
00005770 3F07 move.w -[A7], D7
00005772 7000 moveq.l D0, 0x00
00005774 1F00 move.b -[A7], D0
00005776 4AAD B430 tst.l [A5 - 0x4BD0]
0000577A 6710 beq +0x12 /* 0000578C */
0000577C 598F subq.l A7, 4
0000577E 206D B430 movea.l A0, [A5 - 0x4BD0]
00005782 2F10 move.l -[A7], [A0]
00005784 4EBA 1B44 jsr [PC + 0x1B44 /* 000072CA */]
00005788 201F move.l D0, [A7]+
0000578A 6002 bra +0x4 /* 0000578E */
label0000578C:
0000578C 7000 moveq.l D0, 0x00
label0000578E:
0000578E 2F00 move.l -[A7], D0
00005790 2F0B move.l -[A7], A3
00005792 2F3C 8012 001A move.l -[A7], 0x8012001A
00005798 A8B5 syscall ScriptUtil
0000579A 3013 move.w D0, [A3]
0000579C 4CEE 1880 FFE8 movem.l D7,A3,A4, [A6 - 0x18]
000057A2 4E5E unlink A6
000057A4 4E75 rts
export_87:
000057A6 4E56 0000 link A6, 0
000057AA 48E7 0018 movem.l -[A7], A3,A4
000057AE 598F subq.l A7, 4
000057B0 4878 6000 push.l 0x6000 /* '`\0' */
000057B4 4EBA 0D16 jsr [PC + 0xD16 /* 000064CC */]
000057B8 285F movea.l A4, [A7]+
000057BA 200C move.l D0, A4
000057BC 6714 beq +0x16 /* 000057D2 */
000057BE 598F subq.l A7, 4
000057C0 2F2E 0008 move.l -[A7], [A6 + 0x8]
000057C4 4EBA 0D06 jsr [PC + 0xD06 /* 000064CC */]
000057C8 265F movea.l A3, [A7]+
000057CA 2F0C move.l -[A7], A4
000057CC 4EBA 0D16 jsr [PC + 0xD16 /* 000064E4 */]
000057D0 6004 bra +0x6 /* 000057D6 */
label000057D2:
000057D2 7000 moveq.l D0, 0x00
000057D4 2640 movea.l A3, D0
label000057D6:
000057D6 2D4B 000C move.l [A6 + 0xC], A3
000057DA 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
000057E0 4E5E unlink A6
000057E2 2E9F move.l [A7], [A7]+
000057E4 4E75 rts
export_88:
000057E6 4E56 0000 link A6, 0
000057EA 48E7 0018 movem.l -[A7], A3,A4
000057EE 7000 moveq.l D0, 0x00
000057F0 2640 movea.l A3, D0
000057F2 598F subq.l A7, 4
000057F4 4878 6000 push.l 0x6000 /* '`\0' */
000057F8 4EBA 0CD2 jsr [PC + 0xCD2 /* 000064CC */]
000057FC 285F movea.l A4, [A7]+
000057FE 200C move.l D0, A4
00005800 6714 beq +0x16 /* 00005816 */
00005802 598F subq.l A7, 4
00005804 2F2E 000A move.l -[A7], [A6 + 0xA]
00005808 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000580C A9A0 syscall GetResource
0000580E 265F movea.l A3, [A7]+
00005810 2F0C move.l -[A7], A4
00005812 4EBA 0CD0 jsr [PC + 0xCD0 /* 000064E4 */]
label00005816:
00005816 2D4B 000E move.l [A6 + 0xE], A3
0000581A 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00005820 4E5E unlink A6
00005822 205F movea.l A0, [A7]+
00005824 5C4F addq.w A7, 6
00005826 4ED0 jmp [A0]
export_89:
00005828 4E56 0000 link A6, 0
0000582C 48E7 0118 movem.l -[A7], D7,A3,A4
00005830 286E 0010 movea.l A4, [A6 + 0x10]
00005834 598F subq.l A7, 4
00005836 4878 6000 push.l 0x6000 /* '`\0' */
0000583A 4EBA 0C90 jsr [PC + 0xC90 /* 000064CC */]
0000583E 265F movea.l A3, [A7]+
00005840 200B move.l D0, A3
00005842 671A beq +0x1C /* 0000585E */
00005844 558F subq.l A7, 2
00005846 2F0C move.l -[A7], A4
00005848 2F2E 000C move.l -[A7], [A6 + 0xC]
0000584C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00005850 4EBA 13A4 jsr [PC + 0x13A4 /* 00006BF6 */]
00005854 3E1F move.w D7, [A7]+
00005856 2F0B move.l -[A7], A3
00005858 4EBA 0C8A jsr [PC + 0xC8A /* 000064E4 */]
0000585C 6002 bra +0x4 /* 00005860 */
label0000585E:
0000585E 7E94 moveq.l D7, 0xFFFFFF94
label00005860:
00005860 3D47 0014 move.w [A6 + 0x14], D7
00005864 4CEE 1880 FFF4 movem.l D7,A3,A4, [A6 - 0xC]
0000586A 4E5E unlink A6
0000586C 205F movea.l A0, [A7]+
0000586E DEFC 000C add.w A7, 0xC
00005872 4ED0 jmp [A0]
export_90:
00005874 4E56 0000 link A6, 0
00005878 48E7 0118 movem.l -[A7], D7,A3,A4
0000587C 286E 000C movea.l A4, [A6 + 0xC]
00005880 266E 0010 movea.l A3, [A6 + 0x10]
00005884 2E2E 0008 move.l D7, [A6 + 0x8]
00005888 2F07 move.l -[A7], D7
0000588A 4EBA A774 jsr [PC - 0x588C /* 00000000 */]
0000588E 4A40 tst.w D0
00005890 588F addq.l A7, 4
00005892 6712 beq +0x14 /* 000058A6 */
00005894 558F subq.l A7, 2
00005896 2F0B move.l -[A7], A3
00005898 2F0C move.l -[A7], A4
0000589A 2F07 move.l -[A7], D7
0000589C 4EBA 133C jsr [PC + 0x133C /* 00006BDA */]
000058A0 3D5F 0014 move.w [A6 + 0x14], [A7]+
000058A4 6006 bra +0x8 /* 000058AC */
label000058A6:
000058A6 3D7C FF94 0014 move.w [A6 + 0x14], 0xFF94
label000058AC:
000058AC 4CEE 1880 FFF4 movem.l D7,A3,A4, [A6 - 0xC]
000058B2 4E5E unlink A6
000058B4 205F movea.l A0, [A7]+
000058B6 DEFC 000C add.w A7, 0xC
000058BA 4ED0 jmp [A0]
export_91:
000058BC 4E56 0000 link A6, 0
000058C0 48E7 0118 movem.l -[A7], D7,A3,A4
000058C4 286E 000C movea.l A4, [A6 + 0xC]
000058C8 598F subq.l A7, 4
000058CA 4878 6000 push.l 0x6000 /* '`\0' */
000058CE 4EBA 0BFC jsr [PC + 0xBFC /* 000064CC */]
000058D2 265F movea.l A3, [A7]+
000058D4 200B move.l D0, A3
000058D6 671A beq +0x1C /* 000058F2 */
000058D8 2F0C move.l -[A7], A4
000058DA 2F2E 0008 move.l -[A7], [A6 + 0x8]
000058DE 4EBA 0C22 jsr [PC + 0xC22 /* 00006502 */]
000058E2 558F subq.l A7, 2
000058E4 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
000058E8 3E1F move.w D7, [A7]+
000058EA 2F0B move.l -[A7], A3
000058EC 4EBA 0BF6 jsr [PC + 0xBF6 /* 000064E4 */]
000058F0 6002 bra +0x4 /* 000058F4 */
label000058F2:
000058F2 7E94 moveq.l D7, 0xFFFFFF94
label000058F4:
000058F4 3D47 0010 move.w [A6 + 0x10], D7
000058F8 4CEE 1880 FFF4 movem.l D7,A3,A4, [A6 - 0xC]
000058FE 4E5E unlink A6
00005900 205F movea.l A0, [A7]+
00005902 504F addq.w A7, 8
00005904 4ED0 jmp [A0]
export_92:
00005906 4E56 0000 link A6, 0
0000590A 48E7 0018 movem.l -[A7], A3,A4
0000590E 7000 moveq.l D0, 0x00
00005910 2640 movea.l A3, D0
00005912 598F subq.l A7, 4
00005914 4878 6000 push.l 0x6000 /* '`\0' */
00005918 4EBA 0BB2 jsr [PC + 0xBB2 /* 000064CC */]
0000591C 285F movea.l A4, [A7]+
0000591E 200C move.l D0, A4
00005920 6718 beq +0x1A /* 0000593A */
00005922 598F subq.l A7, 4
00005924 3F2E 0010 move.w -[A7], [A6 + 0x10]
00005928 2F2E 000C move.l -[A7], [A6 + 0xC]
0000592C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00005930 A97C syscall GetNewDialog
00005932 265F movea.l A3, [A7]+
00005934 2F0C move.l -[A7], A4
00005936 4EBA 0BAC jsr [PC + 0xBAC /* 000064E4 */]
label0000593A:
0000593A 200B move.l D0, A3
0000593C 6604 bne +0x6 /* 00005942 */
0000593E 4EAD 0E52 jsr [A5 + 0xE52 /* export_454 */]
label00005942:
00005942 2D4B 0012 move.l [A6 + 0x12], A3
00005946 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
0000594C 4E5E unlink A6
0000594E 205F movea.l A0, [A7]+
00005950 DEFC 000A add.w A7, 0xA /* '\n' */
00005954 4ED0 jmp [A0]
export_93:
00005956 4E56 FFFC link A6, -0x0004
0000595A 48E7 0018 movem.l -[A7], A3,A4
0000595E 7000 moveq.l D0, 0x00
00005960 2840 movea.l A4, D0
00005962 598F subq.l A7, 4
00005964 4878 6000 push.l 0x6000 /* '`\0' */
00005968 4EBA 0B62 jsr [PC + 0xB62 /* 000064CC */]
0000596C 2D5F FFFC move.l [A6 - 0x4], [A7]+
00005970 672E beq +0x30 /* 000059A0 */
00005972 598F subq.l A7, 4
00005974 2F2E 0008 move.l -[A7], [A6 + 0x8]
00005978 4EBA 0B52 jsr [PC + 0xB52 /* 000064CC */]
0000597C 265F movea.l A3, [A7]+
0000597E 200B move.l D0, A3
00005980 6716 beq +0x18 /* 00005998 */
00005982 2F0B move.l -[A7], A3
00005984 4EBA 08EE jsr [PC + 0x8EE /* 00006274 */]
00005988 2F0B move.l -[A7], A3
0000598A 4EBA 0B8E jsr [PC + 0xB8E /* 0000651A */]
0000598E 598F subq.l A7, 4
00005990 2F13 move.l -[A7], [A3]
00005992 4EBA 1936 jsr [PC + 0x1936 /* 000072CA */]
00005996 285F movea.l A4, [A7]+
label00005998:
00005998 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000599C 4EBA 0B46 jsr [PC + 0xB46 /* 000064E4 */]
label000059A0:
000059A0 200C move.l D0, A4
000059A2 4CEE 1800 FFF4 movem.l A3,A4, [A6 - 0xC]
000059A8 4E5E unlink A6
000059AA 4E75 rts
export_94:
000059AC 48E7 0018 movem.l -[A7], A3,A4
000059B0 266F 000C movea.l A3, [A7 + 0xC]
000059B4 200B move.l D0, A3
000059B6 671C beq +0x1E /* 000059D4 */
000059B8 598F subq.l A7, 4
000059BA 2F0B move.l -[A7], A3
000059BC 4EBA 0B50 jsr [PC + 0xB50 /* 0000650E */]
000059C0 285F movea.l A4, [A7]+
000059C2 200C move.l D0, A4
000059C4 6708 beq +0xA /* 000059CE */
000059C6 2F0C move.l -[A7], A4
000059C8 4EBA 0B1A jsr [PC + 0xB1A /* 000064E4 */]
000059CC 6006 bra +0x8 /* 000059D4 */
label000059CE:
000059CE 2F0B move.l -[A7], A3
000059D0 4EBA 0AD0 jsr [PC + 0xAD0 /* 000064A2 */]
label000059D4:
000059D4 7000 moveq.l D0, 0x00
000059D6 4CDF 1800 movem.l A3,A4, [A7]+
000059DA 4E75 rts
export_95:
000059DC 4E56 0000 link A6, 0
000059E0 48E7 1F3C movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A5
000059E4 4CEE 2000 0008 movem.l A5, [A6 + 0x8]
000059EA 2F2E 0018 move.l -[A7], [A6 + 0x18]
000059EE 2F2E 0014 move.l -[A7], [A6 + 0x14]
000059F2 2F2E 0010 move.l -[A7], [A6 + 0x10]
000059F6 206E 000C movea.l A0, [A6 + 0xC]
000059FA 5888 addq.l A0, 4
000059FC 4E90 jsr [A0]
000059FE DEFC 000C add.w A7, 0xC
00005A02 4CDF 3CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A5, [A7]+
00005A06 4E5E unlink A6
00005A08 2F40 0018 move.l [A7 + 0x18], D0
00005A0C 205F movea.l A0, [A7]+
00005A0E DEFC 0014 add.w A7, 0x14
00005A12 4ED0 jmp [A0]
export_96:
00005A14 4E56 FEFC link A6, -0x0104
00005A18 48E7 0018 movem.l -[A7], A3,A4
00005A1C 49EE FEFC lea.l A4, [A6 - 0x104]
00005A20 266E 0008 movea.l A3, [A6 + 0x8]
00005A24 2F0C move.l -[A7], A4
00005A26 2F2E 000E move.l -[A7], [A6 + 0xE]
00005A2A 302E 000C move.w D0, [A6 + 0xC]
00005A2E 48C0 ext.l D0
00005A30 2F00 move.l -[A7], D0
00005A32 4EBA AB9A jsr [PC - 0x5466 /* 000005CE */]
00005A36 4A40 tst.w D0
00005A38 4FEF 000C lea.l A7, [A7 + 0xC]
00005A3C 6744 beq +0x46 /* 00005A82 */
00005A3E 486E 0012 pea.l [A6 + 0x12]
00005A42 2F0C move.l -[A7], A4
00005A44 4EAD 1B1A jsr [A5 + 0x1B1A /* export_863 */]
00005A48 2D6B 000C FFFC move.l [A6 - 0x4], [A3 + 0xC]
00005A4E 7000 moveq.l D0, 0x00
00005A50 1014 move.b D0, [A4]
00005A52 5280 addq.l D0, 1
00005A54 2F00 move.l -[A7], D0
00005A56 4EBA A9BC jsr [PC - 0x5644 /* 00000414 */]
00005A5A 2740 000C move.l [A3 + 0xC], D0
00005A5E 4FEF 000C lea.l A7, [A7 + 0xC]
00005A62 6718 beq +0x1A /* 00005A7C */
00005A64 2F0C move.l -[A7], A4
00005A66 2F2B 000C move.l -[A7], [A3 + 0xC]
00005A6A 4EAD 1B22 jsr [A5 + 0x1B22 /* export_864 */]
00005A6E 486E FFFC pea.l [A6 - 0x4]
00005A72 4EAD 0DB2 jsr [A5 + 0xDB2 /* export_434 */]
00005A76 4FEF 000C lea.l A7, [A7 + 0xC]
00005A7A 6006 bra +0x8 /* 00005A82 */
label00005A7C:
00005A7C 276E FFFC 000C move.l [A3 + 0xC], [A6 - 0x4]
label00005A82:
00005A82 7001 moveq.l D0, 0x01
00005A84 4CEE 1800 FEF4 movem.l A3,A4, [A6 - 0x10C]
00005A8A 4E5E unlink A6
00005A8C 4E75 rts
export_0:
00005A8E 2057 movea.l A0, [A7]
00005A90 42A7 clr.l -[A7]
00005A92 486D FCAE pea.l [A5 - 0x352]
00005A96 486D FCAA pea.l [A5 - 0x356]
00005A9A 486D FCA6 pea.l [A5 - 0x35A]
00005A9E 2F08 move.l -[A7], A0
00005AA0 4EBA 01AA jsr [PC + 0x1AA /* 00005C4C */]
00005AA4 588F addq.l A7, 4
00005AA6 4FEF 0010 lea.l A7, [A7 + 0x10]
00005AAA 486D FECE pea.l [A5 - 0x132]
00005AAE 4EBA 0500 jsr [PC + 0x500 /* 00005FB0 */]
00005AB2 584F addq.w A7, 4
00005AB4 4A80 tst.l D0
00005AB6 661A bne +0x1C /* 00005AD2 */
00005AB8 2F2D FCAE move.l -[A7], [A5 - 0x352]
00005ABC 2F2D FCAA move.l -[A7], [A5 - 0x356]
00005AC0 2F2D FCA6 move.l -[A7], [A5 - 0x35A]
00005AC4 4EBA E6B6 jsr [PC - 0x194A /* 0000417C */]
00005AC8 4FEF 000C lea.l A7, [A7 + 0xC]
00005ACC 2F00 move.l -[A7], D0
00005ACE 4EBA 038E jsr [PC + 0x38E /* 00005E5E */]
label00005AD2:
00005AD2 4E75 rts
export_97:
00005AD4 303C 2810 move.w D0, 0x2810
00005AD8 7200 moveq.l D1, 0x00
label00005ADA:
00005ADA 42A7 clr.l -[A7]
00005ADC 2F2F 0008 move.l -[A7], [A7 + 0x8]
00005AE0 486F 0004 pea.l [A7 + 0x4]
00005AE4 3F00 move.w -[A7], D0
00005AE6 A9EB syscall Pack4/FP68K
00005AE8 201F move.l D0, [A7]+
00005AEA E2B8 ror D0, D1
00005AEC 4E75 rts
export_98:
00005AEE 303C 2010 move.w D0, 0x2010
00005AF2 7210 moveq.l D1, 0x10
00005AF4 60E4 bra -0x1A /* 00005ADA */
export_99:
00005AF6 2F17 move.l -[A7], [A7]
00005AF8 42AF 0004 clr.l [A7 + 0x4]
00005AFC 486F 0004 pea.l [A7 + 0x4]
00005B00 2F2F 0010 move.l -[A7], [A7 + 0x10]
00005B04 3F3C 300E move.w -[A7], 0x300E
00005B08 A9EB syscall Pack4/FP68K
00005B0A 2E9F move.l [A7], [A7]+
00005B0C 4E75 rts
fn00005B0E:
00005B0E 4E56 FFFC link A6, -0x0004
00005B12 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00005B16 4AAD FDD4 tst.l [A5 - 0x22C]
00005B1A 6600 0092 bne +0x94 /* 00005BAE */
00005B1E 598F subq.l A7, 4
00005B20 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
00005B26 486D FD80 pea.l [A5 - 0x280]
00005B2A A9A1 syscall GetNamedResource
00005B2C 285F movea.l A4, [A7]+
00005B2E 200C move.l D0, A4
00005B30 677C beq +0x7E /* 00005BAE */
00005B32 558F subq.l A7, 2
00005B34 A994 syscall CurResFile
00005B36 558F subq.l A7, 2
00005B38 2F0C move.l -[A7], A4
00005B3A A9A4 syscall HomeResFile
00005B3C 301F move.w D0, [A7]+
00005B3E 48C0 ext.l D0
00005B40 321F move.w D1, [A7]+
00005B42 48C1 ext.l D1
00005B44 B081 cmp.l D0, D1
00005B46 6666 bne +0x68 /* 00005BAE */
00005B48 41ED 0342 lea.l A0, [A5 + 0x342 /* export_100 */]
00005B4C 226D FDF2 movea.l A1, [A5 - 0x20E]
00005B50 2348 000C move.l [A1 + 0xC], A0
00005B54 2D4C FFFC move.l [A6 - 0x4], A4
00005B58 598F subq.l A7, 4
00005B5A 2F0C move.l -[A7], A4
00005B5C 4EBA 0990 jsr [PC + 0x990 /* 000064EE */]
00005B60 201F move.l D0, [A7]+
00005B62 5980 subq.l D0, 4
00005B64 7204 moveq.l D1, 0x04
00005B66 4EBA 03AA jsr [PC + 0x3AA /* 00005F12 */]
00005B6A 2C00 move.l D6, D0
00005B6C 7000 moveq.l D0, 0x00
00005B6E 2640 movea.l A3, D0
00005B70 602A bra +0x2C /* 00005B9C */
label00005B72:
00005B72 2F0C move.l -[A7], A4
00005B74 A9A2 syscall LoadResource
00005B76 206E FFFC movea.l A0, [A6 - 0x4]
00005B7A 2050 movea.l A0, [A0]
00005B7C 202D FDD4 move.l D0, [A5 - 0x22C]
00005B80 E580 asl D0, 2
00005B82 3030 0804 move.w D0, [A0 + D0 + 0x4]
00005B86 48C0 ext.l D0
00005B88 2E00 move.l D7, D0
00005B8A 6708 beq +0xA /* 00005B94 */
00005B8C 200D move.l D0, A5
00005B8E 2640 movea.l A3, D0
00005B90 D7C7 add.l A3, D7
00005B92 4E93 jsr [A3]
label00005B94:
00005B94 202D FDD4 move.l D0, [A5 - 0x22C]
00005B98 52AD FDD4 addq.l [A5 - 0x22C], 1
label00005B9C:
00005B9C BCAD FDD4 cmp.l D6, [A5 - 0x22C]
00005BA0 6ED0 bgt -0x2E /* 00005B72 */
00005BA2 200B move.l D0, A3
00005BA4 6704 beq +0x6 /* 00005BAA */
00005BA6 2F0B move.l -[A7], A3
00005BA8 A9F1 syscall UnloadSeg
label00005BAA:
00005BAA 2F0C move.l -[A7], A4
00005BAC A9A3 syscall ReleaseResource
label00005BAE:
00005BAE 4CEE 18C0 FFEC movem.l D6,D7,A3,A4, [A6 - 0x14]
00005BB4 4E5E unlink A6
00005BB6 4E75 rts
00005BB8 8B5F or.w [A7]+, D5
00005BBA 5F43 subq.w D3, 7
00005BBC 706C moveq.l D0, 0x6C
00005BBE 7573 moveq.l D2, 0x73
00005BC0 496E 6974 chk.w D4, [A6 + 0x6974]
00005BC4 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_100: // at 00005BC6 (misaligned)
00005BC8 FFFC .invalid <<F/7/7>>
00005BCA 48E7 0118 movem.l -[A7], D7,A3,A4
00005BCE 4AAD FDD4 tst.l [A5 - 0x22C]
00005BD2 6762 beq +0x64 /* 00005C36 */
00005BD4 598F subq.l A7, 4
00005BD6 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
00005BDC 486D FDAA pea.l [A5 - 0x256]
00005BE0 A9A1 syscall GetNamedResource
00005BE2 285F movea.l A4, [A7]+
00005BE4 200C move.l D0, A4
00005BE6 674E beq +0x50 /* 00005C36 */
00005BE8 558F subq.l A7, 2
00005BEA A994 syscall CurResFile
00005BEC 558F subq.l A7, 2
00005BEE 2F0C move.l -[A7], A4
00005BF0 A9A4 syscall HomeResFile
00005BF2 301F move.w D0, [A7]+
00005BF4 48C0 ext.l D0
00005BF6 321F move.w D1, [A7]+
00005BF8 48C1 ext.l D1
00005BFA B081 cmp.l D0, D1
00005BFC 6638 bne +0x3A /* 00005C36 */
00005BFE 2D4C FFFC move.l [A6 - 0x4], A4
00005C02 6028 bra +0x2A /* 00005C2C */
label00005C04:
00005C04 2F0C move.l -[A7], A4
00005C06 A9A2 syscall LoadResource
00005C08 206E FFFC movea.l A0, [A6 - 0x4]
00005C0C 2050 movea.l A0, [A0]
00005C0E 53AD FDD4 subq.l [A5 - 0x22C], 1
00005C12 202D FDD4 move.l D0, [A5 - 0x22C]
00005C16 E580 asl D0, 2
00005C18 3030 0806 move.w D0, [A0 + D0 + 0x6]
00005C1C 48C0 ext.l D0
00005C1E 2E00 move.l D7, D0
00005C20 200D move.l D0, A5
00005C22 2640 movea.l A3, D0
00005C24 D7C7 add.l A3, D7
00005C26 4A87 tst.l D7
00005C28 6702 beq +0x4 /* 00005C2C */
00005C2A 4E93 jsr [A3]
label00005C2C:
00005C2C 4AAD FDD4 tst.l [A5 - 0x22C]
00005C30 6ED2 bgt -0x2C /* 00005C04 */
00005C32 2F0C move.l -[A7], A4
00005C34 A9A3 syscall ReleaseResource
label00005C36:
00005C36 4CEE 1880 FFF0 movem.l D7,A3,A4, [A6 - 0x10]
00005C3C 4E5E unlink A6
00005C3E 4E75 rts
00005C40 8964 or.w -[A4], D4
00005C42 746F moveq.l D2, 0x6F
00005C44 7273 moveq.l D1, 0x73
00005C46 5F5F subq.w [A7]+, 7
00005C48 4676 0000 not.w [A6 + D0.w]
fn00005C4C:
00005C4C 4E56 0000 link A6, 0
00005C50 48E7 3318 movem.l -[A7], D2,D3,D6,D7,A3,A4
00005C54 2C2E 0018 move.l D6, [A6 + 0x18]
00005C58 4EAD 2EEA jsr [A5 + 0x2EEA /* export_1497 */]
00005C5C 206D FDF2 movea.l A0, [A5 - 0x20E]
00005C60 20AE 0008 move.l [A0], [A6 + 0x8]
00005C64 7001 moveq.l D0, 0x01
00005C66 4AB8 0316 tst.l [0x00000316 /* HpChk/MacPgm */]
00005C6A 672E beq +0x30 /* 00005C9A */
00005C6C 7201 moveq.l D1, 0x01
00005C6E C2B8 0316 and.l D1, [0x00000316 /* HpChk/MacPgm */]
00005C72 6626 bne +0x28 /* 00005C9A */
00005C74 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00005C78 0C90 4D50 474D cmpi.l [A0], 0x4D50474D /* 'MPGM' */
00005C7E 661A bne +0x1C /* 00005C9A */
00005C80 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00005C84 4AA8 0004 tst.l [A0 + 0x4]
00005C88 6710 beq +0x12 /* 00005C9A */
00005C8A 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00005C8E 2068 0004 movea.l A0, [A0 + 0x4]
00005C92 3210 move.w D1, [A0]
00005C94 48C1 ext.l D1
00005C96 6702 beq +0x4 /* 00005C9A */
00005C98 7000 moveq.l D0, 0x00
label00005C9A:
00005C9A 2B40 FDD8 move.l [A5 - 0x228], D0
00005C9E 6764 beq +0x66 /* 00005D04 */
00005CA0 41ED FEAC lea.l A0, [A5 - 0x154]
00005CA4 43F8 0910 lea.l A1, [0x00000910 /* CurApName */]
00005CA8 7007 moveq.l D0, 0x07
label00005CAA:
00005CAA 20D9 move.l [A0]+, [A1]+
00005CAC 51C8 FFFC dbf D0, -0x6 /* 00005CAA */
00005CB0 30D9 move.w [A0]+, [A1]+
00005CB2 41ED FEAC lea.l A0, [A5 - 0x154]
00005CB6 226D FDE2 movea.l A1, [A5 - 0x21E]
00005CBA 2288 move.l [A1], A0
00005CBC 4A86 tst.l D6
00005CBE 660C bne +0xE /* 00005CCC */
00005CC0 206D FDE2 movea.l A0, [A5 - 0x21E]
00005CC4 2F10 move.l -[A7], [A0]
00005CC6 4EBA 0514 jsr [PC + 0x514 /* 000061DC */]
00005CCA 588F addq.l A7, 4
label00005CCC:
00005CCC 4AAE 000C tst.l [A6 + 0xC]
00005CD0 6708 beq +0xA /* 00005CDA */
00005CD2 206E 000C movea.l A0, [A6 + 0xC]
00005CD6 7001 moveq.l D0, 0x01
00005CD8 2080 move.l [A0], D0
label00005CDA:
00005CDA 4AAE 0010 tst.l [A6 + 0x10]
00005CDE 6708 beq +0xA /* 00005CE8 */
00005CE0 206E 0010 movea.l A0, [A6 + 0x10]
00005CE4 20AD FDE2 move.l [A0], [A5 - 0x21E]
label00005CE8:
00005CE8 4AAE 0014 tst.l [A6 + 0x14]
00005CEC 6708 beq +0xA /* 00005CF6 */
00005CEE 206E 0014 movea.l A0, [A6 + 0x14]
00005CF2 20AD FDE6 move.l [A0], [A5 - 0x21A]
label00005CF6:
00005CF6 4EBA FE16 jsr [PC - 0x1EA /* 00005B0E */]
00005CFA 7001 moveq.l D0, 0x01
00005CFC 2B40 FDD8 move.l [A5 - 0x228], D0
00005D00 6000 0148 bra +0x14A /* 00005E4A */
label00005D04:
00005D04 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00005D08 2068 0004 movea.l A0, [A0 + 0x4]
00005D0C 3010 move.w D0, [A0]
00005D0E 48C0 ext.l D0
00005D10 322D FDDC move.w D1, [A5 - 0x224]
00005D14 48C1 ext.l D1
00005D16 B081 cmp.l D0, D1
00005D18 670C beq +0xE /* 00005D26 */
00005D1A 2F3C 8000 0000 move.l -[A7], 0x80000000
00005D20 4EBA 015C jsr [PC + 0x15C /* 00005E7E */]
00005D24 588F addq.l A7, 4
label00005D26:
00005D26 41ED FDDC lea.l A0, [A5 - 0x224]
00005D2A 2278 0316 movea.l A1, [0x00000316 /* HpChk/MacPgm */]
00005D2E 2269 0004 movea.l A1, [A1 + 0x4]
00005D32 2348 0024 move.l [A1 + 0x24], A0
00005D36 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00005D3A 2B68 0004 FE00 move.l [A5 - 0x200], [A0 + 0x4]
00005D40 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00005D44 2068 0004 movea.l A0, [A0 + 0x4]
00005D48 2B68 0002 FDDE move.l [A5 - 0x222], [A0 + 0x2]
00005D4E 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00005D52 2068 0004 movea.l A0, [A0 + 0x4]
00005D56 2B68 0006 FDE2 move.l [A5 - 0x21E], [A0 + 0x6]
00005D5C 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00005D60 2068 0004 movea.l A0, [A0 + 0x4]
00005D64 2B68 000A FDE6 move.l [A5 - 0x21A], [A0 + 0xA]
00005D6A 4A86 tst.l D6
00005D6C 672C beq +0x2E /* 00005D9A */
00005D6E 266D FDE2 movea.l A3, [A5 - 0x21E]
00005D72 600C bra +0xE /* 00005D80 */
label00005D74:
00005D74 2F13 move.l -[A7], [A3]
00005D76 4EBA C470 jsr [PC - 0x3B90 /* 000021E8 */]
00005D7A 588F addq.l A7, 4
00005D7C D6FC 0004 add.w A3, 0x4
label00005D80:
00005D80 4A93 tst.l [A3]
00005D82 66F0 bne -0xE /* 00005D74 */
00005D84 266D FDE6 movea.l A3, [A5 - 0x21A]
00005D88 600C bra +0xE /* 00005D96 */
label00005D8A:
00005D8A 2F13 move.l -[A7], [A3]
00005D8C 4EBA C45A jsr [PC - 0x3BA6 /* 000021E8 */]
00005D90 588F addq.l A7, 4
00005D92 D6FC 0004 add.w A3, 0x4
label00005D96:
00005D96 4A93 tst.l [A3]
00005D98 66F0 bne -0xE /* 00005D8A */
label00005D9A:
00005D9A 4AAE 000C tst.l [A6 + 0xC]
00005D9E 6708 beq +0xA /* 00005DA8 */
00005DA0 206E 000C movea.l A0, [A6 + 0xC]
00005DA4 20AD FDDE move.l [A0], [A5 - 0x222]
label00005DA8:
00005DA8 4AAE 0010 tst.l [A6 + 0x10]
00005DAC 6708 beq +0xA /* 00005DB6 */
00005DAE 206E 0010 movea.l A0, [A6 + 0x10]
00005DB2 20AD FDE2 move.l [A0], [A5 - 0x21E]
label00005DB6:
00005DB6 4AAE 0014 tst.l [A6 + 0x14]
00005DBA 6708 beq +0xA /* 00005DC4 */
00005DBC 206E 0014 movea.l A0, [A6 + 0x14]
00005DC0 20AD FDE6 move.l [A0], [A5 - 0x21A]
label00005DC4:
00005DC4 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00005DC8 2068 0004 movea.l A0, [A0 + 0x4]
00005DCC 4AA8 0020 tst.l [A0 + 0x20]
00005DD0 676E beq +0x70 /* 00005E40 */
00005DD2 598F subq.l A7, 4
00005DD4 7078 moveq.l D0, 0x78
00005DD6 2F00 move.l -[A7], D0
00005DD8 4EBA 06B0 jsr [PC + 0x6B0 /* 0000648A */]
00005DDC 2B5F FDFC move.l [A5 - 0x204], [A7]+
00005DE0 660C bne +0xE /* 00005DEE */
00005DE2 2F3C 8500 0000 move.l -[A7], 0x85000000
00005DE8 4EBA 0094 jsr [PC + 0x94 /* 00005E7E */]
00005DEC 588F addq.l A7, 4
label00005DEE:
00005DEE 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00005DF2 2068 0004 movea.l A0, [A0 + 0x4]
00005DF6 2868 0020 movea.l A4, [A0 + 0x20]
00005DFA 7E00 moveq.l D7, 0x00
00005DFC 7605 moveq.l D3, 0x05
label00005DFE:
00005DFE 2007 move.l D0, D7
00005E00 2200 move.l D1, D0
00005E02 C0FC 0018 mulu.w D0, 0x18
00005E06 4841 swap.w D1
00005E08 C2FC 0018 mulu.w D1, 0x18
00005E0C 4841 swap.w D1
00005E0E 4241 clr.w D1
00005E10 D081 add.l D0, D1
00005E12 206D FDFC movea.l A0, [A5 - 0x204]
00005E16 2207 move.l D1, D7
00005E18 2401 move.l D2, D1
00005E1A C2FC 0018 mulu.w D1, 0x18
00005E1E 4842 swap.w D2
00005E20 C4FC 0018 mulu.w D2, 0x18
00005E24 4842 swap.w D2
00005E26 4242 clr.w D2
00005E28 D282 add.l D1, D2
00005E2A 41F0 1800 lea.l A0, [A0 + D1]
00005E2E 43F4 0800 lea.l A1, [A4 + D0]
00005E32 7005 moveq.l D0, 0x05
label00005E34:
00005E34 20D9 move.l [A0]+, [A1]+
00005E36 51C8 FFFC dbf D0, -0x6 /* 00005E34 */
00005E3A 5287 addq.l D7, 1
00005E3C B687 cmp.l D3, D7
00005E3E 6EBE bgt -0x40 /* 00005DFE */
label00005E40:
00005E40 4EBA FCCC jsr [PC - 0x334 /* 00005B0E */]
00005E44 7000 moveq.l D0, 0x00
00005E46 2B40 FDD8 move.l [A5 - 0x228], D0
label00005E4A:
00005E4A 4CEE 18CC FFE8 movem.l D2,D3,D6,D7,A3,A4, [A6 - 0x18]
00005E50 4E5E unlink A6
00005E52 4E75 rts
00005E54 875F or.w [A7]+, D3
00005E56 5254 addq.w [A4], 1
00005E58 496E 6974 chk.w D4, [A6 + 0x6974]
00005E5C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005E5E-00005E68
fn00005E5E:
00005E5E 4E56 0000 link A6, 0
00005E62 203C 00FF FFFF move.l D0, 0xFFFFFF
// end alternate branch 00005E5E-00005E68
fn00005E5E: // (misaligned)
00005E60 0000 203C ori.b D0, 0x3C /* '<' */
00005E64 00FF .incomplete
00005E66 FFFF .invalid <<F/7/7>>
00005E68 C0AE 0008 and.l D0, [A6 + 0x8]
00005E6C 2F00 move.l -[A7], D0
00005E6E 4EBA 000E jsr [PC + 0xE /* 00005E7E */]
00005E72 4E5E unlink A6
00005E74 4E75 rts
00005E76 8465 or.w D2, -[A5]
00005E78 7869 moveq.l D4, 0x69
00005E7A 7400 moveq.l D2, 0x00
00005E7C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005E7E-00005E84
fn00005E7E:
00005E7E 4E56 0000 link A6, 0
00005E82 2F0B move.l -[A7], A3
// end alternate branch 00005E7E-00005E84
fn00005E7E: // (misaligned)
00005E80 0000 2F0B ori.b D0, 0xB
00005E84 206D FDF2 movea.l A0, [A5 - 0x20E]
00005E88 47E8 008C lea.l A3, [A0 + 0x8C]
00005E8C 600C bra +0xE /* 00005E9A */
label00005E8E:
00005E8E 4A93 tst.l [A3]
00005E90 6704 beq +0x6 /* 00005E96 */
00005E92 2053 movea.l A0, [A3]
00005E94 4E90 jsr [A0]
label00005E96:
00005E96 D6FC FFFC add.w A3, 0xFFFC
label00005E9A:
00005E9A 206D FDF2 movea.l A0, [A5 - 0x20E]
00005E9E B1CB cmpa.l A0, A3
00005EA0 65EC bcs -0x12 /* 00005E8E */
00005EA2 4AAD FE00 tst.l [A5 - 0x200]
00005EA6 670A beq +0xC /* 00005EB2 */
00005EA8 206D FE00 movea.l A0, [A5 - 0x200]
00005EAC 216E 0008 000E move.l [A0 + 0xE], [A6 + 0x8]
label00005EB2:
00005EB2 4AAD FEE6 tst.l [A5 - 0x11A]
00005EB6 660A bne +0xC /* 00005EC2 */
00005EB8 206D FDF2 movea.l A0, [A5 - 0x20E]
00005EBC 2050 movea.l A0, [A0]
00005EBE 4E90 jsr [A0]
00005EC0 600E bra +0x10 /* 00005ED0 */
label00005EC2:
00005EC2 7001 moveq.l D0, 0x01
00005EC4 2F00 move.l -[A7], D0
00005EC6 486D FECE pea.l [A5 - 0x132]
00005ECA 4EBA 00F0 jsr [PC + 0xF0 /* 00005FBC */]
00005ECE 508F addq.l A7, 8
label00005ED0:
00005ED0 266E FFFC movea.l A3, [A6 - 0x4]
00005ED4 4E5E unlink A6
00005ED6 4E75 rts
00005ED8 875F or.w [A7]+, D3
00005EDA 5254 addq.w [A4], 1
00005EDC 4578 6974 chk.w D2, [0x00006974]
00005EE0 0000 202F ori.b D0, 0x2F /* '/' */
00005EE4 0004 222F ori.b D4, 0x2F /* '/' */
00005EE8 0008 2F02 ori.b A0, 0x2
// begin alternate branch 00005EEA-00005EEC
export_101:
fn00005EEA:
00005EEA 2F02 move.l -[A7], D2
// end alternate branch 00005EEA-00005EEC
export_101: // at 00005EEA (misaligned)
fn00005EEA: // (misaligned)
00005EEC 2400 move.l D2, D0
00005EEE C4C1 mulu.w D2, D1
00005EF0 2042 movea.l A0, D2
00005EF2 2401 move.l D2, D1
00005EF4 4842 swap.w D2
00005EF6 C4C0 mulu.w D2, D0
00005EF8 4840 swap.w D0
00005EFA C2C0 mulu.w D1, D0
00005EFC D441 add.w D2, D1
00005EFE 4842 swap.w D2
00005F00 4242 clr.w D2
00005F02 D1C2 add.l A0, D2
00005F04 2008 move.l D0, A0
00005F06 241F move.l D2, [A7]+
00005F08 4E75 rts
00005F0A 222F 0004 move.l D1, [A7 + 0x4]
00005F0E 202F 0008 move.l D0, [A7 + 0x8]
export_102:
fn00005F12:
00005F12 4EBA 001E jsr [PC + 0x1E /* 00005F32 */]
00005F16 2001 move.l D0, D1
00005F18 4E75 rts
00005F1A 222F 0004 move.l D1, [A7 + 0x4]
00005F1E 202F 0008 move.l D0, [A7 + 0x8]
export_103:
fn00005F22:
00005F22 4EBA 003C jsr [PC + 0x3C /* 00005F60 */]
00005F26 2001 move.l D0, D1
00005F28 4E75 rts
00005F2A 222F 0004 move.l D1, [A7 + 0x4]
00005F2E 202F 0008 move.l D0, [A7 + 0x8]
export_104:
fn00005F32:
00005F32 48E7 0600 movem.l -[A7], D5,D6
00005F36 2A00 move.l D5, D0
00005F38 6A02 bpl +0x4 /* 00005F3C */
00005F3A 4480 neg.l D0
label00005F3C:
00005F3C 2C01 move.l D6, D1
00005F3E 6A02 bpl +0x4 /* 00005F42 */
00005F40 4481 neg.l D1
label00005F42:
00005F42 4EBA 001C jsr [PC + 0x1C /* 00005F60 */]
00005F46 4A85 tst.l D5
00005F48 6A02 bpl +0x4 /* 00005F4C */
00005F4A 4480 neg.l D0
label00005F4C:
00005F4C BB86 xor.l D6, D5
00005F4E 6A02 bpl +0x4 /* 00005F52 */
00005F50 4481 neg.l D1
label00005F52:
00005F52 4CDF 0060 movem.l D5,D6, [A7]+
00005F56 4E75 rts
00005F58 222F 0004 move.l D1, [A7 + 0x4]
00005F5C 202F 0008 move.l D0, [A7 + 0x8]
export_105:
fn00005F60:
00005F60 48E7 3800 movem.l -[A7], D2,D3,D4
00005F64 2401 move.l D2, D1
00005F66 4842 swap.w D2
00005F68 4A42 tst.w D2
00005F6A 661C bne +0x1E /* 00005F88 */
00005F6C 3600 move.w D3, D0
00005F6E 4240 clr.w D0
00005F70 4840 swap.w D0
00005F72 6704 beq +0x6 /* 00005F78 */
00005F74 80C1 divu.w D0, D1
00005F76 3400 move.w D2, D0
label00005F78:
00005F78 4842 swap.w D2
00005F7A 3003 move.w D0, D3
00005F7C 80C1 divu.w D0, D1
00005F7E 3400 move.w D2, D0
00005F80 2202 move.l D1, D2
00005F82 4240 clr.w D0
00005F84 4840 swap.w D0
00005F86 6022 bra +0x24 /* 00005FAA */
label00005F88:
00005F88 2400 move.l D2, D0
00005F8A 4240 clr.w D0
00005F8C 4840 swap.w D0
00005F8E 4842 swap.w D2
00005F90 4242 clr.w D2
00005F92 2601 move.l D3, D1
00005F94 7200 moveq.l D1, 0x00
00005F96 780F moveq.l D4, 0x0F
label00005F98:
00005F98 D482 add.l D2, D2
00005F9A D180 addx.l D0, D0
00005F9C D281 add.l D1, D1
00005F9E B083 cmp.l D0, D3
00005FA0 6504 bcs +0x6 /* 00005FA6 */
00005FA2 9083 sub.l D0, D3
00005FA4 5201 addq.b D1, 1
label00005FA6:
00005FA6 51CC FFF0 dbf D4, -0x12 /* 00005F98 */
label00005FAA:
00005FAA 4CDF 001C movem.l D2,D3,D4, [A7]+
00005FAE 4E75 rts
fn00005FB0:
00005FB0 225F movea.l A1, [A7]+
00005FB2 2057 movea.l A0, [A7]
00005FB4 48D0 DEFC movem.l [A0], D2,D3,D4,D5,D6,D7,A1,A2,A3,A4,A6,A7
00005FB8 7000 moveq.l D0, 0x00
00005FBA 4ED1 jmp [A1]
fn00005FBC:
00005FBC 202F 0008 move.l D0, [A7 + 0x8]
00005FC0 6602 bne +0x4 /* 00005FC4 */
00005FC2 7001 moveq.l D0, 0x01
label00005FC4:
00005FC4 206F 0004 movea.l A0, [A7 + 0x4]
00005FC8 4CD0 DEFC movem.l D2,D3,D4,D5,D6,D7,A1,A2,A3,A4,A6,A7, [A0]
00005FCC 4ED1 jmp [A1]
export_106:
00005FCE 4E56 0000 link A6, 0
00005FD2 48E7 0310 movem.l -[A7], D6,D7,A3
00005FD6 266E 0008 movea.l A3, [A6 + 0x8]
00005FDA 7E00 moveq.l D7, 0x00
00005FDC 7C00 moveq.l D6, 0x00
00005FDE 6004 bra +0x6 /* 00005FE4 */
label00005FE0:
00005FE0 D6FC 0001 add.w A3, 0x1
label00005FE4:
00005FE4 41ED FEFE lea.l A0, [A5 - 0x102]
00005FE8 5288 addq.l A0, 1
00005FEA 1013 move.b D0, [A3]
00005FEC 4880 ext.w D0
00005FEE 1030 0000 move.b D0, [A0 + D0.w]
00005FF2 4880 ext.w D0
00005FF4 48C0 ext.l D0
00005FF6 7208 moveq.l D1, 0x08
00005FF8 C280 and.l D1, D0
00005FFA 66E4 bne -0x1A /* 00005FE0 */
00005FFC 1013 move.b D0, [A3]
00005FFE 0400 002B subi.b D0, 0x2B /* '+' */
00006002 6B3C bmi +0x3E /* 00006040 */
00006004 0C00 0002 cmpi.b D0, 0x2
00006008 6E36 bgt +0x38 /* 00006040 */
0000600A 7200 moveq.l D1, 0x00
0000600C 1200 move.b D1, D0
0000600E D241 add.w D1, D1
00006010 323B 1006 move.w D1, [PC + D1.w + 0x6]
00006014 4EFB 1000 jmp [PC + D1.w]
00006018 000C 002A ori.b A4, 0x2A /* '*' */
0000601C 0008 2006 ori.b A0, 0x6
00006020 5286 addq.l D6, 1
00006022 D6FC 0001 add.w A3, 0x1
00006026 6018 bra +0x1A /* 00006040 */
label00006028:
00006028 2207 move.l D1, D7
0000602A D281 add.l D1, D1
0000602C 2001 move.l D0, D1
0000602E E589 lsl D1, 2
00006030 D280 add.l D1, D0
00006032 101B move.b D0, [A3]+
00006034 4880 ext.w D0
00006036 48C0 ext.l D0
00006038 D081 add.l D0, D1
0000603A 2E00 move.l D7, D0
0000603C 7030 moveq.l D0, 0x30
0000603E 9E80 sub.l D7, D0
label00006040:
00006040 1013 move.b D0, [A3]
00006042 4880 ext.w D0
00006044 48C0 ext.l D0
00006046 7230 moveq.l D1, 0x30
00006048 B280 cmp.l D1, D0
0000604A 6E0C bgt +0xE /* 00006058 */
0000604C 1013 move.b D0, [A3]
0000604E 4880 ext.w D0
00006050 48C0 ext.l D0
00006052 7239 moveq.l D1, 0x39
00006054 B280 cmp.l D1, D0
00006056 6CD0 bge -0x2E /* 00006028 */
label00006058:
00006058 4A86 tst.l D6
0000605A 6706 beq +0x8 /* 00006062 */
0000605C 2007 move.l D0, D7
0000605E 4480 neg.l D0
00006060 6002 bra +0x4 /* 00006064 */
label00006062:
00006062 2007 move.l D0, D7
label00006064:
00006064 4CEE 08C0 FFF4 movem.l D6,D7,A3, [A6 - 0xC]
0000606A 4E5E unlink A6
0000606C 4E75 rts
0000606E 8461 or.w D2, -[A1]
00006070 746F moveq.l D2, 0x6F
00006072 6900 0000 bvs +0x2 /* 00006074 */
// begin alternate branch 00006074-0000607E
label00006074:
00006074 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_107: // at 00006076 (misaligned)
00006078 0000 48E7 ori.b D0, 0xE7
0000607C 0310 btst [A0], D1
// end alternate branch 00006074-0000607E
export_107:
label00006074: // (misaligned)
00006076 4E56 0000 link A6, 0
0000607A 48E7 0310 movem.l -[A7], D6,D7,A3
0000607E 266E 0008 movea.l A3, [A6 + 0x8]
00006082 7E00 moveq.l D7, 0x00
00006084 7C00 moveq.l D6, 0x00
00006086 6004 bra +0x6 /* 0000608C */
label00006088:
00006088 D6FC 0001 add.w A3, 0x1
label0000608C:
0000608C 41ED FEFE lea.l A0, [A5 - 0x102]
00006090 5288 addq.l A0, 1
00006092 1013 move.b D0, [A3]
00006094 4880 ext.w D0
00006096 1030 0000 move.b D0, [A0 + D0.w]
0000609A 4880 ext.w D0
0000609C 48C0 ext.l D0
0000609E 7208 moveq.l D1, 0x08
000060A0 C280 and.l D1, D0
000060A2 66E4 bne -0x1A /* 00006088 */
000060A4 1013 move.b D0, [A3]
000060A6 0400 002B subi.b D0, 0x2B /* '+' */
000060AA 6B3C bmi +0x3E /* 000060E8 */
000060AC 0C00 0002 cmpi.b D0, 0x2
000060B0 6E36 bgt +0x38 /* 000060E8 */
000060B2 7200 moveq.l D1, 0x00
000060B4 1200 move.b D1, D0
000060B6 D241 add.w D1, D1
000060B8 323B 1006 move.w D1, [PC + D1.w + 0x6]
000060BC 4EFB 1000 jmp [PC + D1.w]
000060C0 000C 002A ori.b A4, 0x2A /* '*' */
000060C4 0008 2006 ori.b A0, 0x6
000060C8 5286 addq.l D6, 1
000060CA D6FC 0001 add.w A3, 0x1
000060CE 6018 bra +0x1A /* 000060E8 */
label000060D0:
000060D0 2207 move.l D1, D7
000060D2 D281 add.l D1, D1
000060D4 2001 move.l D0, D1
000060D6 E589 lsl D1, 2
000060D8 D280 add.l D1, D0
000060DA 101B move.b D0, [A3]+
000060DC 4880 ext.w D0
000060DE 48C0 ext.l D0
000060E0 D081 add.l D0, D1
000060E2 2E00 move.l D7, D0
000060E4 7030 moveq.l D0, 0x30
000060E6 9E80 sub.l D7, D0
label000060E8:
000060E8 1013 move.b D0, [A3]
000060EA 4880 ext.w D0
000060EC 48C0 ext.l D0
000060EE 7230 moveq.l D1, 0x30
000060F0 B280 cmp.l D1, D0
000060F2 6E0C bgt +0xE /* 00006100 */
000060F4 1013 move.b D0, [A3]
000060F6 4880 ext.w D0
000060F8 48C0 ext.l D0
000060FA 7239 moveq.l D1, 0x39
000060FC B280 cmp.l D1, D0
000060FE 6CD0 bge -0x2E /* 000060D0 */
label00006100:
00006100 4A86 tst.l D6
00006102 6706 beq +0x8 /* 0000610A */
00006104 2007 move.l D0, D7
00006106 4480 neg.l D0
00006108 6002 bra +0x4 /* 0000610C */
label0000610A:
0000610A 2007 move.l D0, D7
label0000610C:
0000610C 4CEE 08C0 FFF4 movem.l D6,D7,A3, [A6 - 0xC]
00006112 4E5E unlink A6
00006114 4E75 rts
00006116 8461 or.w D2, -[A1]
00006118 746F moveq.l D2, 0x6F
0000611A 6C00 0000 bge +0x2 /* 0000611C */
// begin alternate branch 0000611C-00006126
label0000611C:
0000611C 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_108: // at 0000611E (misaligned)
00006120 0000 48E7 ori.b D0, 0xE7
00006124 0118 btst [A0]+, D0
// end alternate branch 0000611C-00006126
export_108:
label0000611C: // (misaligned)
0000611E 4E56 0000 link A6, 0
00006122 48E7 0118 movem.l -[A7], D7,A3,A4
00006126 2E2E 0010 move.l D7, [A6 + 0x10]
0000612A 266E 0008 movea.l A3, [A6 + 0x8]
0000612E 286E 000C movea.l A4, [A6 + 0xC]
00006132 B9CB cmpa.l A4, A3
00006134 660E bne +0x10 /* 00006144 */
00006136 7000 moveq.l D0, 0x00
00006138 602C bra +0x2E /* 00006166 */
label0000613A:
0000613A 7000 moveq.l D0, 0x00
0000613C 101B move.b D0, [A3]+
0000613E 6604 bne +0x6 /* 00006144 */
00006140 7000 moveq.l D0, 0x00
00006142 6022 bra +0x24 /* 00006166 */
label00006144:
00006144 5387 subq.l D7, 1
00006146 6D0C blt +0xE /* 00006154 */
00006148 7000 moveq.l D0, 0x00
0000614A 1013 move.b D0, [A3]
0000614C 7200 moveq.l D1, 0x00
0000614E 121C move.b D1, [A4]+
00006150 B280 cmp.l D1, D0
00006152 67E6 beq -0x18 /* 0000613A */
label00006154:
00006154 4A87 tst.l D7
00006156 6C04 bge +0x6 /* 0000615C */
00006158 7000 moveq.l D0, 0x00
0000615A 600A bra +0xC /* 00006166 */
label0000615C:
0000615C 7000 moveq.l D0, 0x00
0000615E 1013 move.b D0, [A3]
00006160 7200 moveq.l D1, 0x00
00006162 1224 move.b D1, -[A4]
00006164 9081 sub.l D0, D1
label00006166:
00006166 4CEE 1880 FFF4 movem.l D7,A3,A4, [A6 - 0xC]
0000616C 4E5E unlink A6
0000616E 4E75 rts
00006170 8773 7472 or.w [A3 + D7.w * 4 + 0x72], D3
00006174 6E63 bgt +0x65 /* 000061D9 */
00006176 6D70 blt +0x72 /* 000061E8 */
00006178 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_109: // at 0000617A (misaligned)
0000617C FFFC .invalid <<F/7/7>>
0000617E 48E7 0118 movem.l -[A7], D7,A3,A4
00006182 286E 000C movea.l A4, [A6 + 0xC]
00006186 2E2E 0010 move.l D7, [A6 + 0x10]
0000618A 266E 0008 movea.l A3, [A6 + 0x8]
0000618E 2D4B FFFC move.l [A6 - 0x4], A3
00006192 6012 bra +0x14 /* 000061A6 */
label00006194:
00006194 169C move.b [A3], [A4]+
00006196 101B move.b D0, [A3]+
00006198 4880 ext.w D0
0000619A 48C0 ext.l D0
0000619C 6608 bne +0xA /* 000061A6 */
0000619E 6002 bra +0x4 /* 000061A2 */
label000061A0:
000061A0 421B clr.b [A3]+
label000061A2:
000061A2 5387 subq.l D7, 1
000061A4 6CFA bge -0x4 /* 000061A0 */
label000061A6:
000061A6 5387 subq.l D7, 1
000061A8 6CEA bge -0x14 /* 00006194 */
000061AA 202E FFFC move.l D0, [A6 - 0x4]
000061AE 4CEE 1880 FFF0 movem.l D7,A3,A4, [A6 - 0x10]
000061B4 4E5E unlink A6
000061B6 4E75 rts
000061B8 8773 7472 or.w [A3 + D7.w * 4 + 0x72], D3
000061BC 6E63 bgt +0x65 /* 00006221 */
000061BE 7079 moveq.l D0, 0x79
000061C0 0000 2F02 ori.b D0, 0x2
export_110: // at 000061C2 (misaligned)
000061C4 2F2F 0008 move.l -[A7], [A7 + 0x8]
000061C8 2F2F 0010 move.l -[A7], [A7 + 0x10]
000061CC A990 syscall GetDialogItemText/GetIText
000061CE 2F2F 000C move.l -[A7], [A7 + 0xC]
000061D2 4EBA 0008 jsr [PC + 0x8 /* 000061DC */]
000061D6 584F addq.w A7, 4
000061D8 241F move.l D2, [A7]+
000061DA 4E75 rts
fn000061DC:
000061DC 202F 0004 move.l D0, [A7 + 0x4]
000061E0 6712 beq +0x14 /* 000061F4 */
000061E2 2040 movea.l A0, D0
000061E4 7000 moveq.l D0, 0x00
000061E6 1010 move.b D0, [A0]
label000061E8:
000061E8 6004 bra +0x6 /* 000061EE */
label000061EA:
000061EA 10E8 0001 move.b [A0]+, [A0 + 0x1]
label000061EE:
000061EE 51C8 FFFA dbf D0, -0x8 /* 000061EA */
000061F2 4210 clr.b [A0]
label000061F4:
000061F4 202F 0004 move.l D0, [A7 + 0x4]
000061F8 4E75 rts
fn000061FA:
000061FA 225F movea.l A1, [A7]+
000061FC 204F movea.l A0, A7
000061FE A019 syscall InitZone
00006200 DEFC 000E add.w A7, 0xE
00006204 4EFA 0022 jmp [PC + 0x22 /* 00006228 */]
fn00006208:
00006208 A11A syscall GetZone, flags=1
0000620A 2F48 0004 move.l [A7 + 0x4], A0
0000620E 4EFA 001A jmp [PC + 0x1A /* 0000622A */]
export_111:
fn00006212:
00006212 225F movea.l A1, [A7]+
00006214 205F movea.l A0, [A7]+
00006216 A01B syscall SetZone
00006218 4EFA 000E jmp [PC + 0xE /* 00006228 */]
0000621C 225F movea.l A1, [A7]+
0000621E 201F move.l D0, [A7]+
00006220 A04C syscall CompactMem
00006222 2E80 move.l [A7], D0
00006224 4E71 nop
label00006226:
00006226 7000 moveq.l D0, 0x00
label00006228:
00006228 2F09 move.l -[A7], A1
label0000622A:
0000622A 31C0 0220 move.w [0x00000220 /* MemErr */], D0
0000622E 4E75 rts
label00006230:
00006230 7000 moveq.l D0, 0x00
00006232 60F6 bra -0x8 /* 0000622A */
fn00006234:
00006234 A01C syscall FreeMem
00006236 2F40 0004 move.l [A7 + 0x4], D0
0000623A 4EFA FFF4 jmp [PC - 0xC /* 00006230 */]
export_112:
0000623E 225F movea.l A1, [A7]+
00006240 201F move.l D0, [A7]+
00006242 A040 syscall ResrvMem/ReserveMem
00006244 4EFA FFE2 jmp [PC - 0x1E /* 00006228 */]
export_113:
fn00006248:
00006248 225F movea.l A1, [A7]+
0000624A A11D syscall MaxMem, flags=1
0000624C 2208 move.l D1, A0
0000624E 205F movea.l A0, [A7]+
00006250 2081 move.l [A0], D1
00006252 2E80 move.l [A7], D0
00006254 4EFA FFD0 jmp [PC - 0x30 /* 00006226 */]
export_114:
fn00006258:
00006258 225F movea.l A1, [A7]+
0000625A 205F movea.l A0, [A7]+
0000625C A04B syscall SetGrowZone
0000625E 4EFA FFC8 jmp [PC - 0x38 /* 00006228 */]
fn00006262:
00006262 225F movea.l A1, [A7]+
00006264 205F movea.l A0, [A7]+
00006266 A02D syscall SetApplLimit
00006268 4EFA FFBE jmp [PC - 0x42 /* 00006228 */]
label0000626C:
0000626C 225F movea.l A1, [A7]+
0000626E 205F movea.l A0, [A7]+
00006270 A064 syscall MoveHHi
00006272 4ED1 jmp [A1]
export_115:
fn00006274:
00006274 4A78 028E tst.w [0x0000028E /* ROM85 */]
00006278 6AF2 bpl -0xC /* 0000626C */
0000627A 226F 0004 movea.l A1, [A7 + 0x4]
0000627E 48E7 1F3E movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A5,A6
00006282 2009 move.l D0, A1
00006284 C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
00006288 670C beq +0xE /* 00006296 */
0000628A 2240 movea.l A1, D0
0000628C 2011 move.l D0, [A1]
0000628E C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
00006292 2040 movea.l A0, D0
00006294 6606 bne +0x8 /* 0000629C */
label00006296:
00006296 7093 moveq.l D0, 0xFFFFFF93
label00006298:
00006298 6000 0162 bra +0x164 /* 000063FC */
label0000629C:
0000629C 2849 movea.l A4, A1
0000629E 4A14 tst.b [A4]
000062A0 6A04 bpl +0x6 /* 000062A6 */
000062A2 708B moveq.l D0, 0xFFFFFF8B
000062A4 60F2 bra -0xC /* 00006298 */
label000062A6:
000062A6 2C49 movea.l A6, A1
000062A8 2028 FFFC move.l D0, [A0 - 0x4]
000062AC C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
000062B0 9DC0 sub.l A6, D0
000062B2 2656 movea.l A3, [A6]
000062B4 5188 subq.l A0, 8
000062B6 2210 move.l D1, [A0]
000062B8 C2B8 031A and.l D1, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
000062BC 2E01 move.l D7, D1
000062BE 5187 subq.l D7, 8
000062C0 7000 moveq.l D0, 0x00
000062C2 D1C1 add.l A0, D1
000062C4 B1CB cmpa.l A0, A3
000062C6 6400 0134 bcc +0x136 /* 000063FC */
000062CA 4A10 tst.b [A0]
000062CC 6710 beq +0x12 /* 000062DE */
000062CE 6A00 012C bpl +0x12E /* 000063FC */
000062D2 2068 0004 movea.l A0, [A0 + 0x4]
000062D6 D1CE add.l A0, A6
000062D8 4A10 tst.b [A0]
000062DA 6B00 0120 bmi +0x122 /* 000063FC */
label000062DE:
000062DE 220F move.l D1, A7
000062E0 C2B8 031A and.l D1, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
000062E4 2078 02AA movea.l A0, [0x000002AA /* ApplZone */]
000062E8 9290 sub.l D1, [A0]
000062EA 243C 0000 0400 move.l D2, 0x400
000062F0 2002 move.l D0, D2
000062F2 D087 add.l D0, D7
000062F4 B280 cmp.l D1, D0
000062F6 6D02 blt +0x4 /* 000062FA */
000062F8 2200 move.l D1, D0
label000062FA:
000062FA 70FF moveq.l D0, 0xFFFFFFFF
000062FC B282 cmp.l D1, D2
000062FE 6D00 00FC blt +0xFE /* 000063FC */
00006302 0482 0000 0080 subi.l D2, 0x80
00006308 9282 sub.l D1, D2
0000630A 9FC1 sub.l A7, D1
0000630C 9EFC 0016 sub.w A7, 0x16
00006310 2A4F movea.l A5, A7
00006312 2B41 0008 move.l [A5 + 0x8], D1
00006316 2B78 0118 0012 move.l [A5 + 0x12], [0x00000118 /* TheZone */]
0000631C 21CE 0118 move.l [0x00000118 /* TheZone */], A6
00006320 2054 movea.l A0, [A4]
00006322 5148 subq.w A0, 8
00006324 2A90 move.l [A5], [A0]
00006326 2014 move.l D0, [A4]
00006328 C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
0000632C 2B40 000C move.l [A5 + 0xC], D0
00006330 1B54 0010 move.b [A5 + 0x10], [A4]
00006334 6100 00D2 bsr +0xD4 /* 00006408 */
00006338 4A12 tst.b [A2]
0000633A 662A bne +0x2C /* 00006366 */
0000633C 2212 move.l D1, [A2]
0000633E 2001 move.l D0, D1
00006340 5180 subq.l D0, 8
00006342 BE80 cmp.l D7, D0
00006344 6220 bhi +0x22 /* 00006366 */
00006346 9087 sub.l D0, D7
00006348 6706 beq +0x8 /* 00006350 */
0000634A 740C moveq.l D2, 0x0C
0000634C B082 cmp.l D0, D2
0000634E 6516 bcs +0x18 /* 00006366 */
label00006350:
00006350 2054 movea.l A0, [A4]
00006352 224A movea.l A1, A2
00006354 D3C1 add.l A1, D1
label00006356:
00006356 2007 move.l D0, D7
00006358 93C0 sub.l A1, D0
0000635A 91AE 000C sub.l [A6 + 0xC], D0
0000635E A02E syscall BlockMove/BlockMoveData
00006360 204C movea.l A0, A4
00006362 A02B syscall EmptyHandle
00006364 6068 bra +0x6A /* 000063CE */
label00006366:
00006366 7C00 moveq.l D6, 0x00
00006368 6100 00D8 bsr +0xDA /* 00006442 */
0000636C 6100 0112 bsr +0x114 /* 00006480 */
00006370 6100 0096 bsr +0x98 /* 00006408 */
label00006374:
00006374 2212 move.l D1, [A2]
00006376 202D 0004 move.l D0, [A5 + 0x4]
0000637A 41ED 0016 lea.l A0, [A5 + 0x16]
0000637E 224A movea.l A1, A2
00006380 D3C1 add.l A1, D1
00006382 93C0 sub.l A1, D0
00006384 DC80 add.l D6, D0
00006386 91AE 000C sub.l [A6 + 0xC], D0
0000638A A02E syscall BlockMove/BlockMoveData
0000638C 4A87 tst.l D7
0000638E 673E beq +0x40 /* 000063CE */
00006390 2009 move.l D0, A1
00006392 908A sub.l D0, A2
00006394 6716 beq +0x18 /* 000063AC */
00006396 2200 move.l D1, D0
00006398 5181 subq.l D1, 8
0000639A 9287 sub.l D1, D7
0000639C 650C bcs +0xE /* 000063AA */
0000639E 6706 beq +0x8 /* 000063A6 */
000063A0 740C moveq.l D2, 0x0C
000063A2 B481 cmp.l D2, D1
000063A4 6504 bcs +0x6 /* 000063AA */
label000063A6:
000063A6 2054 movea.l A0, [A4]
000063A8 60AC bra -0x52 /* 00006356 */
label000063AA:
000063AA 2480 move.l [A2], D0
label000063AC:
000063AC 4CD1 0030 movem.l D4,D5, [A1]
000063B0 234E 0004 move.l [A1 + 0x4], A6
000063B4 2286 move.l [A1], D6
000063B6 12BC 0040 move.b [A1], 0x40 /* '@' */
000063BA 2F09 move.l -[A7], A1
000063BC 6100 0084 bsr +0x86 /* 00006442 */
000063C0 6100 00BE bsr +0xC0 /* 00006480 */
000063C4 6142 bsr +0x44 /* 00006408 */
000063C6 225F movea.l A1, [A7]+
000063C8 48D1 0030 movem.l [A1], D4,D5
000063CC 60A6 bra -0x58 /* 00006374 */
label000063CE:
000063CE 5189 subq.l A1, 8
000063D0 51AE 000C subq.l [A6 + 0xC], 8
000063D4 2009 move.l D0, A1
000063D6 908A sub.l D0, A2
000063D8 6702 beq +0x4 /* 000063DC */
000063DA 2480 move.l [A2], D0
label000063DC:
000063DC 2449 movea.l A2, A1
000063DE 24D5 move.l [A2]+, [A5]
000063E0 204C movea.l A0, A4
000063E2 91CE sub.l A0, A6
000063E4 24C8 move.l [A2]+, A0
000063E6 288A move.l [A4], A2
000063E8 18AD 0010 move.b [A4], [A5 + 0x10]
000063EC 21ED 0012 0118 move.l [0x00000118 /* TheZone */], [A5 + 0x12]
000063F2 7000 moveq.l D0, 0x00
000063F4 DFED 0008 add.l A7, [A5 + 0x8]
000063F8 DEFC 0016 add.w A7, 0x16
label000063FC:
000063FC 4CDF 7CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A5,A6, [A7]+
00006400 2E9F move.l [A7], [A7]+
00006402 31C0 0220 move.w [0x00000220 /* MemErr */], D0
00006406 4E75 rts
fn00006408:
00006408 2014 move.l D0, [A4]
0000640A 670A beq +0xC /* 00006416 */
0000640C C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
00006410 2040 movea.l A0, D0
00006412 5148 subq.w A0, 8
00006414 6004 bra +0x6 /* 0000641A */
label00006416:
00006416 41EE 0034 lea.l A0, [A6 + 0x34]
label0000641A:
0000641A 2210 move.l D1, [A0]
0000641C C2B8 031A and.l D1, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
00006420 4A10 tst.b [A0]
00006422 670C beq +0xE /* 00006430 */
00006424 6A14 bpl +0x16 /* 0000643A */
00006426 2268 0004 movea.l A1, [A0 + 0x4]
0000642A D3CE add.l A1, A6
0000642C 4A11 tst.b [A1]
0000642E 6B0A bmi +0xC /* 0000643A */
label00006430:
00006430 2448 movea.l A2, A0
00006432 D1C1 add.l A0, D1
00006434 B1CB cmpa.l A0, A3
00006436 65E2 bcs -0x1C /* 0000641A */
00006438 6006 bra +0x8 /* 00006440 */
label0000643A:
0000643A B1ED 000C cmpa.l A0, [A5 + 0xC]
0000643E 63F0 bls -0xE /* 00006430 */
label00006440:
00006440 4E75 rts
fn00006442:
00006442 202D 0008 move.l D0, [A5 + 0x8]
00006446 B087 cmp.l D0, D7
00006448 6D02 blt +0x4 /* 0000644C */
0000644A 2007 move.l D0, D7
label0000644C:
0000644C 43ED 0016 lea.l A1, [A5 + 0x16]
00006450 2054 movea.l A0, [A4]
00006452 D1C7 add.l A0, D7
00006454 91C0 sub.l A0, D0
00006456 9E80 sub.l D7, D0
00006458 2B40 0004 move.l [A5 + 0x4], D0
0000645C 2200 move.l D1, D0
0000645E A02E syscall BlockMove/BlockMoveData
00006460 204C movea.l A0, A4
00006462 2007 move.l D0, D7
00006464 6604 bne +0x6 /* 0000646A */
00006466 A02B syscall EmptyHandle
00006468 4E75 rts
label0000646A:
0000646A 2050 movea.l A0, [A0]
0000646C 5148 subq.w A0, 8
0000646E 1410 move.b D2, [A0]
00006470 5080 addq.l D0, 8
00006472 2080 move.l [A0], D0
00006474 1082 move.b [A0], D2
00006476 D1C0 add.l A0, D0
00006478 2081 move.l [A0], D1
0000647A D3AE 000C add.l [A6 + 0xC], D1
0000647E 4E75 rts
fn00006480:
00006480 203C 0080 0000 move.l D0, 0x800000
00006486 A04C syscall CompactMem
00006488 4E75 rts
export_116:
fn0000648A:
0000648A 225F movea.l A1, [A7]+
0000648C 201F move.l D0, [A7]+
0000648E A11E syscall NewPtr, flags=1
00006490 2E88 move.l [A7], A0
00006492 4EFA FD94 jmp [PC - 0x26C /* 00006228 */]
export_117:
00006496 225F movea.l A1, [A7]+
00006498 201F move.l D0, [A7]+
0000649A A71E syscall NewPtrSysClear, flags=7
0000649C 2E88 move.l [A7], A0
0000649E 4EFA FD88 jmp [PC - 0x278 /* 00006228 */]
export_118:
fn000064A2:
000064A2 225F movea.l A1, [A7]+
000064A4 205F movea.l A0, [A7]+
000064A6 A01F syscall DisposPtr/DisposePtr
000064A8 4EFA FD7E jmp [PC - 0x282 /* 00006228 */]
fn000064AC:
000064AC 225F movea.l A1, [A7]+
000064AE 205F movea.l A0, [A7]+
000064B0 A021 syscall GetPtrSize
000064B2 2E80 move.l [A7], D0
000064B4 6A06 bpl +0x8 /* 000064BC */
000064B6 4297 clr.l [A7]
000064B8 4EFA FD6E jmp [PC - 0x292 /* 00006228 */]
label000064BC:
000064BC 4EFA FD68 jmp [PC - 0x298 /* 00006226 */]
fn000064C0:
000064C0 225F movea.l A1, [A7]+
000064C2 201F move.l D0, [A7]+
000064C4 205F movea.l A0, [A7]+
000064C6 A020 syscall SetPtrSize
000064C8 4EFA FD5E jmp [PC - 0x2A2 /* 00006228 */]
export_119:
fn000064CC:
000064CC 225F movea.l A1, [A7]+
000064CE 201F move.l D0, [A7]+
000064D0 A122 syscall NewHandle, flags=1
000064D2 2E88 move.l [A7], A0
000064D4 4EFA FD52 jmp [PC - 0x2AE /* 00006228 */]
export_120:
000064D8 225F movea.l A1, [A7]+
000064DA 201F move.l D0, [A7]+
000064DC A322 syscall NewHandleClear, flags=3
000064DE 2E88 move.l [A7], A0
000064E0 4EFA FD46 jmp [PC - 0x2BA /* 00006228 */]
export_121:
fn000064E4:
000064E4 225F movea.l A1, [A7]+
000064E6 205F movea.l A0, [A7]+
000064E8 A023 syscall DisposHandle/DisposeHandle
000064EA 4EFA FD3C jmp [PC - 0x2C4 /* 00006228 */]
export_122:
fn000064EE:
000064EE 225F movea.l A1, [A7]+
000064F0 205F movea.l A0, [A7]+
000064F2 A025 syscall GetHandleSize
000064F4 2E80 move.l [A7], D0
000064F6 6A06 bpl +0x8 /* 000064FE */
000064F8 4297 clr.l [A7]
000064FA 4EFA FD2C jmp [PC - 0x2D4 /* 00006228 */]
label000064FE:
000064FE 4EFA FD26 jmp [PC - 0x2DA /* 00006226 */]
export_123:
fn00006502:
00006502 225F movea.l A1, [A7]+
00006504 201F move.l D0, [A7]+
00006506 205F movea.l A0, [A7]+
00006508 A024 syscall SetHandleSize
0000650A 4EFA FD1C jmp [PC - 0x2E4 /* 00006228 */]
export_124:
fn0000650E:
0000650E 225F movea.l A1, [A7]+
00006510 205F movea.l A0, [A7]+
00006512 A128 syscall RecoverHandle, flags=1
00006514 2E88 move.l [A7], A0
00006516 4EFA FD0E jmp [PC - 0x2F2 /* 00006226 */]
export_125:
fn0000651A:
0000651A 225F movea.l A1, [A7]+
0000651C 205F movea.l A0, [A7]+
0000651E A029 syscall HLock
00006520 4EFA FD06 jmp [PC - 0x2FA /* 00006228 */]
export_126:
00006524 225F movea.l A1, [A7]+
00006526 205F movea.l A0, [A7]+
00006528 A02A syscall HUnlock
0000652A 4EFA FCFC jmp [PC - 0x304 /* 00006228 */]
export_127:
0000652E 225F movea.l A1, [A7]+
00006530 205F movea.l A0, [A7]+
00006532 A049 syscall HPurge
00006534 4EFA FCF2 jmp [PC - 0x30E /* 00006228 */]
export_128:
00006538 225F movea.l A1, [A7]+
0000653A 205F movea.l A0, [A7]+
0000653C A04A syscall HNoPurge
0000653E 4EFA FCE8 jmp [PC - 0x318 /* 00006228 */]
export_129:
00006542 221F move.l D1, [A7]+
00006544 201F move.l D0, [A7]+
00006546 225F movea.l A1, [A7]+
00006548 205F movea.l A0, [A7]+
0000654A A02E syscall BlockMove/BlockMoveData
0000654C 2241 movea.l A1, D1
0000654E 4EFA FCD8 jmp [PC - 0x328 /* 00006228 */]
export_130:
00006552 225F movea.l A1, [A7]+
00006554 205F movea.l A0, [A7]+
00006556 A033 syscall VInstall
00006558 3E80 move.w [A7], D0
0000655A 4ED1 jmp [A1]
export_131:
fn0000655C:
0000655C 225F movea.l A1, [A7]+
0000655E 205F movea.l A0, [A7]+
00006560 A034 syscall VRemove
00006562 3E80 move.w [A7], D0
00006564 4ED1 jmp [A1]
export_132:
00006566 206F 0008 movea.l A0, [A7 + 0x8]
0000656A 7018 moveq.l D0, 0x18
label0000656C:
0000656C 4267 clr.w -[A7]
0000656E 51C8 FFFC dbf D0, -0x6 /* 0000656C */
00006572 2F48 0012 move.l [A7 + 0x12], A0
00006576 422F 001B clr.b [A7 + 0x1B]
0000657A 204F movea.l A0, A7
0000657C A000 syscall Open/PBHOpen/HOpen
0000657E 322F 0018 move.w D1, [A7 + 0x18]
00006582 DEFC 0032 add.w A7, 0x32 /* '2' */
00006586 206F 0004 movea.l A0, [A7 + 0x4]
0000658A 3081 move.w [A0], D1
0000658C 3F40 000C move.w [A7 + 0xC], D0
00006590 205F movea.l A0, [A7]+
00006592 504F addq.w A7, 8
00006594 4ED0 jmp [A0]
export_133:
00006596 225F movea.l A1, [A7]+
00006598 301F move.w D0, [A7]+
0000659A A146 syscall GetTrapAddress, flags=1
0000659C 2E88 move.l [A7], A0
0000659E 4ED1 jmp [A1]
export_134:
fn000065A0:
000065A0 225F movea.l A1, [A7]+
000065A2 121F move.b D1, [A7]+
000065A4 301F move.w D0, [A7]+
000065A6 2F09 move.l -[A7], A1
000065A8 4A01 tst.b D1
000065AA 6704 beq +0x6 /* 000065B0 */
000065AC A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000065AE 6002 bra +0x4 /* 000065B2 */
label000065B0:
000065B0 A346 syscall GetOSTrapAddress, flags=3
label000065B2:
000065B2 2F48 0004 move.l [A7 + 0x4], A0
000065B6 4E75 rts
export_135:
000065B8 225F movea.l A1, [A7]+
000065BA 205F movea.l A0, [A7]+
000065BC 20B8 020C move.l [A0], [0x0000020C /* Time */]
000065C0 4ED1 jmp [A1]
fn000065C2:
000065C2 7000 moveq.l D0, 0x00
000065C4 206F 0004 movea.l A0, [A7 + 0x4]
000065C8 2038 020C move.l D0, [0x0000020C /* Time */]
000065CC A9C6 syscall SecondsToDate/Secs2Date
000065CE 2E9F move.l [A7], [A7]+
000065D0 4E75 rts
export_136:
000065D2 201F move.l D0, [A7]+
000065D4 225F movea.l A1, [A7]+
000065D6 205F movea.l A0, [A7]+
000065D8 2F00 move.l -[A7], D0
000065DA A03B syscall Delay
000065DC 2280 move.l [A1], D0
000065DE 4E75 rts
export_137:
000065E0 4E56 0000 link A6, 0
000065E4 206E 0010 movea.l A0, [A6 + 0x10]
000065E8 226E 000C movea.l A1, [A6 + 0xC]
000065EC 7000 moveq.l D0, 0x00
000065EE 1018 move.b D0, [A0]+
000065F0 4840 swap.w D0
000065F2 1019 move.b D0, [A1]+
000065F4 4A2E 0008 tst.b [A6 + 0x8]
000065F8 670E beq +0x10 /* 00006608 */
000065FA 4A2E 000A tst.b [A6 + 0xA]
000065FE 6704 beq +0x6 /* 00006604 */
00006600 A43C syscall CmpString, flags=4
00006602 6010 bra +0x12 /* 00006614 */
label00006604:
00006604 A03C syscall CmpString
00006606 600C bra +0xE /* 00006614 */
label00006608:
00006608 4A2E 000A tst.b [A6 + 0xA]
0000660C 6704 beq +0x6 /* 00006612 */
0000660E A63C syscall CmpString, flags=6
00006610 6002 bra +0x4 /* 00006614 */
label00006612:
00006612 A23C syscall CmpString, flags=2
label00006614:
00006614 0A00 0001 xori.b D0, 0x1
00006618 1D40 0014 move.b [A6 + 0x14], D0
0000661C 4E5E unlink A6
0000661E 205F movea.l A0, [A7]+
00006620 DEFC 000C add.w A7, 0xC
00006624 4ED0 jmp [A0]
export_138:
00006626 205F movea.l A0, [A7]+
00006628 2278 02AE movea.l A1, [0x000002AE /* ROMBase */]
0000662C 5049 addq.w A1, 8
0000662E 3011 move.w D0, [A1]
00006630 225F movea.l A1, [A7]+
00006632 4251 clr.w [A1]
00006634 0C00 00FF cmpi.b D0, 0xFF
00006638 6708 beq +0xA /* 00006642 */
0000663A E058 ror D0.w, 8
0000663C 5200 addq.b D0, 1
0000663E 1340 0001 move.b [A1 + 0x1], D0
label00006642:
00006642 E048 lsr D0.w, 8
00006644 225F movea.l A1, [A7]+
00006646 3280 move.w [A1], D0
00006648 4ED0 jmp [A0]
export_139:
fn0000664A:
0000664A 225F movea.l A1, [A7]+
0000664C 101F move.b D0, [A7]+
0000664E 205F movea.l A0, [A7]+
00006650 6604 bne +0x6 /* 00006656 */
00006652 A000 syscall Open/PBHOpen/HOpen
00006654 6002 bra +0x4 /* 00006658 */
label00006656:
00006656 A400 syscall Open/PBHOpen/HOpen, flags=4
label00006658:
00006658 3E80 move.w [A7], D0
0000665A 4ED1 jmp [A1]
export_140:
fn0000665C:
0000665C 225F movea.l A1, [A7]+
0000665E 101F move.b D0, [A7]+
00006660 205F movea.l A0, [A7]+
00006662 6604 bne +0x6 /* 00006668 */
00006664 A001 syscall Close
00006666 6002 bra +0x4 /* 0000666A */
label00006668:
00006668 A401 syscall Close, flags=4
label0000666A:
0000666A 3E80 move.w [A7], D0
0000666C 4ED1 jmp [A1]
export_141:
0000666E 225F movea.l A1, [A7]+
00006670 101F move.b D0, [A7]+
00006672 205F movea.l A0, [A7]+
00006674 6604 bne +0x6 /* 0000667A */
00006676 A002 syscall Read
00006678 6002 bra +0x4 /* 0000667C */
label0000667A:
0000667A A402 syscall Read, flags=4
label0000667C:
0000667C 3E80 move.w [A7], D0
0000667E 4ED1 jmp [A1]
fn00006680:
00006680 225F movea.l A1, [A7]+
00006682 101F move.b D0, [A7]+
00006684 205F movea.l A0, [A7]+
00006686 6604 bne +0x6 /* 0000668C */
00006688 A007 syscall GetVolInfo/PBHGetVInfo/HGetVInfo
0000668A 6002 bra +0x4 /* 0000668E */
label0000668C:
0000668C A407 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=4
label0000668E:
0000668E 3E80 move.w [A7], D0
00006690 4ED1 jmp [A1]
fn00006692:
00006692 225F movea.l A1, [A7]+
00006694 101F move.b D0, [A7]+
00006696 205F movea.l A0, [A7]+
00006698 6604 bne +0x6 /* 0000669E */
0000669A A00B syscall Rename/PBHRename/HRename
0000669C 6002 bra +0x4 /* 000066A0 */
label0000669E:
0000669E A40B syscall Rename/PBHRename/HRename, flags=4
label000066A0:
000066A0 3E80 move.w [A7], D0
000066A2 4ED1 jmp [A1]
fn000066A4:
000066A4 225F movea.l A1, [A7]+
000066A6 101F move.b D0, [A7]+
000066A8 205F movea.l A0, [A7]+
000066AA 6604 bne +0x6 /* 000066B0 */
000066AC A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
000066AE 6002 bra +0x4 /* 000066B2 */
label000066B0:
000066B0 A40C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=4
label000066B2:
000066B2 3E80 move.w [A7], D0
000066B4 4ED1 jmp [A1]
export_142:
000066B6 225F movea.l A1, [A7]+
000066B8 101F move.b D0, [A7]+
000066BA 205F movea.l A0, [A7]+
000066BC 6604 bne +0x6 /* 000066C2 */
000066BE A011 syscall GetEOF
000066C0 6002 bra +0x4 /* 000066C4 */
label000066C2:
000066C2 A411 syscall GetEOF, flags=4
label000066C4:
000066C4 3E80 move.w [A7], D0
000066C6 4ED1 jmp [A1]
export_143:
fn000066C8:
000066C8 4E56 FFCE link A6, -0x0032
000066CC 41EE FFCE lea.l A0, [A6 - 0x32]
000066D0 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
000066D6 A001 syscall Close
000066D8 3D40 000A move.w [A6 + 0xA], D0
000066DC 4E5E unlink A6
000066DE 205F movea.l A0, [A7]+
000066E0 548F addq.l A7, 2
000066E2 4ED0 jmp [A0]
export_144:
fn000066E4:
000066E4 51C1 sf D1
000066E6 6002 bra +0x4 /* 000066EA */
export_145:
fn000066E8:
000066E8 50C1 st D1
label000066EA:
000066EA 4E56 FFCE link A6, -0x0032
000066EE 41EE FFCE lea.l A0, [A6 - 0x32]
000066F2 216E 0008 0020 move.l [A0 + 0x20], [A6 + 0x8]
000066F8 316E 0010 0018 move.w [A0 + 0x18], [A6 + 0x10]
000066FE 226E 000C movea.l A1, [A6 + 0xC]
00006702 2151 0024 move.l [A0 + 0x24], [A1]
00006706 4268 002C clr.w [A0 + 0x2C]
0000670A 42A8 002E clr.l [A0 + 0x2E]
0000670E 4A01 tst.b D1
00006710 6604 bne +0x6 /* 00006716 */
00006712 A002 syscall Read
00006714 6002 bra +0x4 /* 00006718 */
label00006716:
00006716 A003 syscall Write
label00006718:
00006718 3D40 0012 move.w [A6 + 0x12], D0
0000671C 226E 000C movea.l A1, [A6 + 0xC]
00006720 22A8 0028 move.l [A1], [A0 + 0x28]
00006724 4E5E unlink A6
00006726 225F movea.l A1, [A7]+
00006728 DEFC 000A add.w A7, 0xA /* '\n' */
0000672C 4ED1 jmp [A1]
export_146:
fn0000672E:
0000672E 4E56 FFB0 link A6, -0x0050
00006732 41EE FFB0 lea.l A0, [A6 - 0x50]
00006736 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
0000673C 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00006742 4228 001A clr.b [A0 + 0x1A]
00006746 4268 001C clr.w [A0 + 0x1C]
0000674A A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
0000674C 3D40 0012 move.w [A6 + 0x12], D0
00006750 41E8 0020 lea.l A0, [A0 + 0x20]
00006754 226E 0008 movea.l A1, [A6 + 0x8]
00006758 7010 moveq.l D0, 0x10
0000675A A02E syscall BlockMove/BlockMoveData
0000675C 4E5E unlink A6
0000675E 225F movea.l A1, [A7]+
00006760 DEFC 000A add.w A7, 0xA /* '\n' */
00006764 4ED1 jmp [A1]
export_147:
fn00006766:
00006766 4E56 FFC0 link A6, -0x0040
0000676A 41EE FFC0 lea.l A0, [A6 - 0x40]
0000676E 216E 000C 0012 move.l [A0 + 0x12], [A6 + 0xC]
00006774 A014 syscall GetVol/PBHGetVol/HGetVol
00006776 3D40 0010 move.w [A6 + 0x10], D0
0000677A 226E 0008 movea.l A1, [A6 + 0x8]
0000677E 32A8 0016 move.w [A1], [A0 + 0x16]
00006782 4E5E unlink A6
00006784 225F movea.l A1, [A7]+
00006786 508F addq.l A7, 8
00006788 4ED1 jmp [A1]
export_148:
0000678A 4E56 FFC0 link A6, -0x0040
0000678E 41EE FFC0 lea.l A0, [A6 - 0x40]
00006792 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00006798 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
0000679E A015 syscall SetVol/PBHSetVol/HSetVol
000067A0 3D40 000E move.w [A6 + 0xE], D0
000067A4 4E5E unlink A6
000067A6 225F movea.l A1, [A7]+
000067A8 5C8F addq.l A7, 6
000067AA 4ED1 jmp [A1]
export_149:
fn000067AC:
000067AC 4E56 FFC0 link A6, -0x0040
000067B0 41EE FFC0 lea.l A0, [A6 - 0x40]
000067B4 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
000067BA 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
000067C0 A013 syscall FlushVol
000067C2 3D40 000E move.w [A6 + 0xE], D0
000067C6 4E5E unlink A6
000067C8 225F movea.l A1, [A7]+
000067CA 5C8F addq.l A7, 6
000067CC 4ED1 jmp [A1]
export_150:
fn000067CE:
000067CE 4E56 FFB0 link A6, -0x0050
000067D2 41EE FFB0 lea.l A0, [A6 - 0x50]
000067D6 216E 0012 0012 move.l [A0 + 0x12], [A6 + 0x12]
000067DC 316E 0010 0016 move.w [A0 + 0x16], [A6 + 0x10]
000067E2 4228 001A clr.b [A0 + 0x1A]
000067E6 A008 syscall Create/PBHCreate/HCreate
000067E8 4A40 tst.w D0
000067EA 6614 bne +0x16 /* 00006800 */
000067EC 4268 001C clr.w [A0 + 0x1C]
000067F0 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
000067F2 43E8 0020 lea.l A1, [A0 + 0x20]
000067F6 22EE 0008 move.l [A1]+, [A6 + 0x8]
000067FA 22AE 000C move.l [A1], [A6 + 0xC]
000067FE A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
label00006800:
00006800 3D40 0016 move.w [A6 + 0x16], D0
00006804 4E5E unlink A6
00006806 225F movea.l A1, [A7]+
00006808 DEFC 000E add.w A7, 0xE
0000680C 4ED1 jmp [A1]
export_151:
fn0000680E:
0000680E 4E56 FFCE link A6, -0x0032
00006812 41EE FFCE lea.l A0, [A6 - 0x32]
00006816 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
0000681C 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00006822 4228 001A clr.b [A0 + 0x1A]
00006826 A009 syscall Delete/PBHDelete/HDelete
00006828 3D40 000E move.w [A6 + 0xE], D0
0000682C 4E5E unlink A6
0000682E 225F movea.l A1, [A7]+
00006830 5C8F addq.l A7, 6
00006832 4ED1 jmp [A1]
export_152:
00006834 4E56 FFCE link A6, -0x0032
00006838 41EE FFCE lea.l A0, [A6 - 0x32]
0000683C 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
00006842 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00006848 4228 001A clr.b [A0 + 0x1A]
0000684C 4228 001B clr.b [A0 + 0x1B]
00006850 42A8 001C clr.l [A0 + 0x1C]
00006854 A00A syscall OpenRF/PBHOpenRF/HOpenRF
00006856 3D40 0012 move.w [A6 + 0x12], D0
0000685A 226E 0008 movea.l A1, [A6 + 0x8]
0000685E 32A8 0018 move.w [A1], [A0 + 0x18]
00006862 4E5E unlink A6
00006864 225F movea.l A1, [A7]+
00006866 DEFC 000A add.w A7, 0xA /* '\n' */
0000686A 4ED1 jmp [A1]
export_153:
fn0000686C:
0000686C 4E56 FFCE link A6, -0x0032
00006870 41EE FFCE lea.l A0, [A6 - 0x32]
00006874 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
0000687A A011 syscall GetEOF
0000687C 3D40 000E move.w [A6 + 0xE], D0
00006880 226E 0008 movea.l A1, [A6 + 0x8]
00006884 22A8 001C move.l [A1], [A0 + 0x1C]
00006888 4E5E unlink A6
0000688A 225F movea.l A1, [A7]+
0000688C 5C8F addq.l A7, 6
0000688E 4ED1 jmp [A1]
export_154:
fn00006890:
00006890 4E56 FFCE link A6, -0x0032
00006894 41EE FFCE lea.l A0, [A6 - 0x32]
00006898 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
0000689E 216E 0008 001C move.l [A0 + 0x1C], [A6 + 0x8]
000068A4 A012 syscall SetEOF
000068A6 3D40 000E move.w [A6 + 0xE], D0
000068AA 4E5E unlink A6
000068AC 225F movea.l A1, [A7]+
000068AE 5C8F addq.l A7, 6
000068B0 4ED1 jmp [A1]
export_155:
fn000068B2:
000068B2 4E56 FFCE link A6, -0x0032
000068B6 41EE FFCE lea.l A0, [A6 - 0x32]
000068BA 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
000068C0 A018 syscall GetFPos
000068C2 3D40 000E move.w [A6 + 0xE], D0
000068C6 226E 0008 movea.l A1, [A6 + 0x8]
000068CA 22A8 002E move.l [A1], [A0 + 0x2E]
000068CE 4E5E unlink A6
000068D0 225F movea.l A1, [A7]+
000068D2 5C8F addq.l A7, 6
000068D4 4ED1 jmp [A1]
export_156:
fn000068D6:
000068D6 4E56 FFCE link A6, -0x0032
000068DA 41EE FFCE lea.l A0, [A6 - 0x32]
000068DE 316E 000E 0018 move.w [A0 + 0x18], [A6 + 0xE]
000068E4 316E 000C 002C move.w [A0 + 0x2C], [A6 + 0xC]
000068EA 216E 0008 002E move.l [A0 + 0x2E], [A6 + 0x8]
000068F0 A044 syscall SetFPos
000068F2 3D40 0010 move.w [A6 + 0x10], D0
000068F6 4E5E unlink A6
000068F8 225F movea.l A1, [A7]+
000068FA 508F addq.l A7, 8
000068FC 4ED1 jmp [A1]
fn000068FE:
000068FE 225F movea.l A1, [A7]+
00006900 7200 moveq.l D1, 0x00
00006902 322F 0004 move.w D1, [A7 + 0x4]
00006906 2078 034E movea.l A0, [0x0000034E /* FCBSPtr */]
0000690A 3038 03F6 move.w D0, [0x000003F6 /* FSFCBLen */]
0000690E 6B04 bmi +0x6 /* 00006914 */
00006910 82C0 divu.w D1, D0
00006912 6004 bra +0x6 /* 00006918 */
label00006914:
00006914 82FC 005E divu.w D1, 0x5E /* '^' */
label00006918:
00006918 4841 swap.w D1
0000691A 5541 subq.w D1, 2
0000691C 6614 bne +0x16 /* 00006932 */
0000691E 302F 0004 move.w D0, [A7 + 0x4]
00006922 B050 cmp.w D0, [A0]
00006924 640C bcc +0xE /* 00006932 */
00006926 2070 0014 movea.l A0, [A0 + D0.w + 0x14]
0000692A 3028 004E move.w D0, [A0 + 0x4E]
0000692E 7200 moveq.l D1, 0x00
00006930 6006 bra +0x8 /* 00006938 */
label00006932:
00006932 7000 moveq.l D0, 0x00
00006934 323C FFCD move.w D1, 0xFFCD
label00006938:
00006938 2057 movea.l A0, [A7]
0000693A 3080 move.w [A0], D0
0000693C 5C4F addq.w A7, 6
0000693E 3E81 move.w [A7], D1
00006940 4ED1 jmp [A1]
export_157:
fn00006942:
00006942 225F movea.l A1, [A7]+
00006944 101F move.b D0, [A7]+
00006946 205F movea.l A0, [A7]+
00006948 6606 bne +0x8 /* 00006950 */
0000694A 7001 moveq.l D0, 0x01
0000694C A260 syscall FSDispatch/HFSDispatch, flags=2
0000694E 6004 bra +0x6 /* 00006954 */
label00006950:
00006950 7001 moveq.l D0, 0x01
00006952 A660 syscall FSDispatch/HFSDispatch, flags=6
label00006954:
00006954 3E80 move.w [A7], D0
00006956 4ED1 jmp [A1]
export_158:
fn00006958:
00006958 225F movea.l A1, [A7]+
0000695A 101F move.b D0, [A7]+
0000695C 205F movea.l A0, [A7]+
0000695E 6606 bne +0x8 /* 00006966 */
00006960 7007 moveq.l D0, 0x07
00006962 A260 syscall FSDispatch/HFSDispatch, flags=2
00006964 6004 bra +0x6 /* 0000696A */
label00006966:
00006966 7007 moveq.l D0, 0x07
00006968 A660 syscall FSDispatch/HFSDispatch, flags=6
label0000696A:
0000696A 3E80 move.w [A7], D0
0000696C 4ED1 jmp [A1]
export_159:
fn0000696E:
0000696E 225F movea.l A1, [A7]+
00006970 101F move.b D0, [A7]+
00006972 205F movea.l A0, [A7]+
00006974 6606 bne +0x8 /* 0000697C */
00006976 7008 moveq.l D0, 0x08
00006978 A260 syscall FSDispatch/HFSDispatch, flags=2
0000697A 6004 bra +0x6 /* 00006980 */
label0000697C:
0000697C 7008 moveq.l D0, 0x08
0000697E A660 syscall FSDispatch/HFSDispatch, flags=6
label00006980:
00006980 3E80 move.w [A7], D0
00006982 4ED1 jmp [A1]
export_160:
fn00006984:
00006984 206F 0006 movea.l A0, [A7 + 0x6]
00006988 4228 001A clr.b [A0 + 0x1A]
0000698C 225F movea.l A1, [A7]+
0000698E 101F move.b D0, [A7]+
00006990 205F movea.l A0, [A7]+
00006992 6606 bne +0x8 /* 0000699A */
00006994 7009 moveq.l D0, 0x09
00006996 A260 syscall FSDispatch/HFSDispatch, flags=2
00006998 6004 bra +0x6 /* 0000699E */
label0000699A:
0000699A 7009 moveq.l D0, 0x09
0000699C A660 syscall FSDispatch/HFSDispatch, flags=6
label0000699E:
0000699E 3E80 move.w [A7], D0
000069A0 4ED1 jmp [A1]
fn000069A2:
000069A2 225F movea.l A1, [A7]+
000069A4 101F move.b D0, [A7]+
000069A6 205F movea.l A0, [A7]+
000069A8 6606 bne +0x8 /* 000069B0 */
000069AA 700A moveq.l D0, 0x0A
000069AC A260 syscall FSDispatch/HFSDispatch, flags=2
000069AE 6004 bra +0x6 /* 000069B4 */
label000069B0:
000069B0 700A moveq.l D0, 0x0A
000069B2 A660 syscall FSDispatch/HFSDispatch, flags=6
label000069B4:
000069B4 3E80 move.w [A7], D0
000069B6 4ED1 jmp [A1]
export_161:
fn000069B8:
000069B8 225F movea.l A1, [A7]+
000069BA 101F move.b D0, [A7]+
000069BC 205F movea.l A0, [A7]+
000069BE 6606 bne +0x8 /* 000069C6 */
000069C0 7010 moveq.l D0, 0x10
000069C2 A260 syscall FSDispatch/HFSDispatch, flags=2
000069C4 6004 bra +0x6 /* 000069CA */
label000069C6:
000069C6 7010 moveq.l D0, 0x10
000069C8 A660 syscall FSDispatch/HFSDispatch, flags=6
label000069CA:
000069CA 3E80 move.w [A7], D0
000069CC 4ED1 jmp [A1]
fn000069CE:
000069CE 225F movea.l A1, [A7]+
000069D0 101F move.b D0, [A7]+
000069D2 205F movea.l A0, [A7]+
000069D4 6606 bne +0x8 /* 000069DC */
000069D6 7011 moveq.l D0, 0x11
000069D8 A260 syscall FSDispatch/HFSDispatch, flags=2
000069DA 6004 bra +0x6 /* 000069E0 */
label000069DC:
000069DC 7011 moveq.l D0, 0x11
000069DE A660 syscall FSDispatch/HFSDispatch, flags=6
label000069E0:
000069E0 3E80 move.w [A7], D0
000069E2 4ED1 jmp [A1]
export_162:
fn000069E4:
000069E4 225F movea.l A1, [A7]+
000069E6 101F move.b D0, [A7]+
000069E8 205F movea.l A0, [A7]+
000069EA 6604 bne +0x6 /* 000069F0 */
000069EC A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
000069EE 6002 bra +0x4 /* 000069F2 */
label000069F0:
000069F0 A607 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=6
label000069F2:
000069F2 3E80 move.w [A7], D0
000069F4 4ED1 jmp [A1]
export_163:
000069F6 225F movea.l A1, [A7]+
000069F8 101F move.b D0, [A7]+
000069FA 205F movea.l A0, [A7]+
000069FC 6604 bne +0x6 /* 00006A02 */
000069FE A200 syscall OpenSlot, flags=2
00006A00 6002 bra +0x4 /* 00006A04 */
label00006A02:
00006A02 A600 syscall Open/PBHOpen/HOpen, flags=6
label00006A04:
00006A04 3E80 move.w [A7], D0
00006A06 4ED1 jmp [A1]
export_164:
fn00006A08:
00006A08 225F movea.l A1, [A7]+
00006A0A 101F move.b D0, [A7]+
00006A0C 205F movea.l A0, [A7]+
00006A0E 6604 bne +0x6 /* 00006A14 */
00006A10 A20A syscall OpenRF/PBHOpenRF/HOpenRF, flags=2
00006A12 6002 bra +0x4 /* 00006A16 */
label00006A14:
00006A14 A60A syscall OpenRF/PBHOpenRF/HOpenRF, flags=6
label00006A16:
00006A16 3E80 move.w [A7], D0
00006A18 4ED1 jmp [A1]
export_165:
00006A1A 225F movea.l A1, [A7]+
00006A1C 101F move.b D0, [A7]+
00006A1E 205F movea.l A0, [A7]+
00006A20 6604 bne +0x6 /* 00006A26 */
00006A22 A20B syscall Rename/PBHRename/HRename, flags=2
00006A24 6002 bra +0x4 /* 00006A28 */
label00006A26:
00006A26 A60B syscall Rename/PBHRename/HRename, flags=6
label00006A28:
00006A28 3E80 move.w [A7], D0
00006A2A 4ED1 jmp [A1]
export_166:
00006A2C 225F movea.l A1, [A7]+
00006A2E 101F move.b D0, [A7]+
00006A30 205F movea.l A0, [A7]+
00006A32 6604 bne +0x6 /* 00006A38 */
00006A34 A242 syscall RstFilLock/PBHRstFLock/HRstFLock, flags=2
00006A36 6002 bra +0x4 /* 00006A3A */
label00006A38:
00006A38 A642 syscall RstFilLock/PBHRstFLock/HRstFLock, flags=6
label00006A3A:
00006A3A 3E80 move.w [A7], D0
00006A3C 4ED1 jmp [A1]
export_167:
fn00006A3E:
00006A3E 225F movea.l A1, [A7]+
00006A40 101F move.b D0, [A7]+
00006A42 205F movea.l A0, [A7]+
00006A44 6604 bne +0x6 /* 00006A4A */
00006A46 A20C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
00006A48 6002 bra +0x4 /* 00006A4C */
label00006A4A:
00006A4A A60C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=6
label00006A4C:
00006A4C 3E80 move.w [A7], D0
00006A4E 4ED1 jmp [A1]
export_168:
00006A50 225F movea.l A1, [A7]+
00006A52 101F move.b D0, [A7]+
00006A54 205F movea.l A0, [A7]+
00006A56 6604 bne +0x6 /* 00006A5C */
00006A58 A20D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=2
00006A5A 6002 bra +0x4 /* 00006A5E */
label00006A5C:
00006A5C A60D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=6
label00006A5E:
00006A5E 3E80 move.w [A7], D0
00006A60 4ED1 jmp [A1]
export_169:
00006A62 225F movea.l A1, [A7]+
00006A64 101F move.b D0, [A7]+
00006A66 205F movea.l A0, [A7]+
00006A68 6606 bne +0x8 /* 00006A70 */
00006A6A 7030 moveq.l D0, 0x30
00006A6C A260 syscall FSDispatch/HFSDispatch, flags=2
00006A6E 6004 bra +0x6 /* 00006A74 */
label00006A70:
00006A70 7030 moveq.l D0, 0x30
00006A72 A660 syscall FSDispatch/HFSDispatch, flags=6
label00006A74:
00006A74 3E80 move.w [A7], D0
00006A76 4ED1 jmp [A1]
export_170:
fn00006A78:
00006A78 225F movea.l A1, [A7]+
00006A7A 101F move.b D0, [A7]+
00006A7C 205F movea.l A0, [A7]+
00006A7E 6606 bne +0x8 /* 00006A86 */
00006A80 7038 moveq.l D0, 0x38
00006A82 A260 syscall FSDispatch/HFSDispatch, flags=2
00006A84 6004 bra +0x6 /* 00006A8A */
label00006A86:
00006A86 7038 moveq.l D0, 0x38
00006A88 A660 syscall FSDispatch/HFSDispatch, flags=6
label00006A8A:
00006A8A 3E80 move.w [A7], D0
00006A8C 4ED1 jmp [A1]
export_171:
00006A8E 226F 0004 movea.l A1, [A7 + 0x4]
00006A92 4251 clr.w [A1]
00006A94 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
00006A98 A025 syscall GetHandleSize
00006A9A 4A80 tst.l D0
00006A9C 6F0E ble +0x10 /* 00006AAC */
00006A9E 2050 movea.l A0, [A0]
00006AA0 226F 0008 movea.l A1, [A7 + 0x8]
00006AA4 3298 move.w [A1], [A0]+
00006AA6 226F 0004 movea.l A1, [A7 + 0x4]
00006AAA 3290 move.w [A1], [A0]
label00006AAC:
00006AAC 205F movea.l A0, [A7]+
00006AAE 504F addq.w A7, 8
00006AB0 4ED0 jmp [A0]
export_172:
00006AB2 48E7 0030 movem.l -[A7], A2,A3
00006AB6 226F 000C movea.l A1, [A7 + 0xC]
00006ABA 42A9 0002 clr.l [A1 + 0x2]
00006ABE 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
00006AC2 A025 syscall GetHandleSize
00006AC4 4A80 tst.l D0
00006AC6 6F26 ble +0x28 /* 00006AEE */
00006AC8 2450 movea.l A2, [A0]
00006ACA 544A addq.w A2, 2
00006ACC 322F 0010 move.w D1, [A7 + 0x10]
00006AD0 B25A cmp.w D1, [A2]+
00006AD2 6E1A bgt +0x1C /* 00006AEE */
00006AD4 5341 subq.w D1, 1
label00006AD6:
00006AD6 6D16 blt +0x18 /* 00006AEE */
00006AD8 204A movea.l A0, A2
00006ADA 7002 moveq.l D0, 0x02
00006ADC D028 0008 add.b D0, [A0 + 0x8]
00006AE0 0240 FFFE andi.w D0, 0xFFFE
00006AE4 5040 addq.w D0, 8
00006AE6 D4C0 add.w A2, D0
00006AE8 A02E syscall BlockMove/BlockMoveData
00006AEA 5341 subq.w D1, 1
00006AEC 60E8 bra -0x16 /* 00006AD6 */
label00006AEE:
00006AEE 4CDF 0C00 movem.l A2,A3, [A7]+
00006AF2 205F movea.l A0, [A7]+
00006AF4 5C4F addq.w A7, 6
00006AF6 4ED0 jmp [A0]
export_173:
00006AF8 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
00006AFC A025 syscall GetHandleSize
00006AFE 4A80 tst.l D0
00006B00 6F28 ble +0x2A /* 00006B2A */
00006B02 2050 movea.l A0, [A0]
00006B04 5448 addq.w A0, 2
00006B06 322F 0004 move.w D1, [A7 + 0x4]
00006B0A B258 cmp.w D1, [A0]+
00006B0C 6E1C bgt +0x1E /* 00006B2A */
00006B0E 5341 subq.w D1, 1
label00006B10:
00006B10 6D18 blt +0x1A /* 00006B2A */
00006B12 6712 beq +0x14 /* 00006B26 */
00006B14 7002 moveq.l D0, 0x02
00006B16 D028 0008 add.b D0, [A0 + 0x8]
00006B1A 0240 FFFE andi.w D0, 0xFFFE
00006B1E 5040 addq.w D0, 8
00006B20 D0C0 add.w A0, D0
00006B22 5341 subq.w D1, 1
00006B24 60EA bra -0x14 /* 00006B10 */
label00006B26:
00006B26 42A8 0002 clr.l [A0 + 0x2]
label00006B2A:
00006B2A 205F movea.l A0, [A7]+
00006B2C 544F addq.w A7, 2
00006B2E 4ED0 jmp [A0]
export_174:
fn00006B30:
00006B30 A061 syscall MaxBlock
00006B32 2F40 0004 move.l [A7 + 0x4], D0
00006B36 4E75 rts
export_175:
fn00006B38:
00006B38 225F movea.l A1, [A7]+
00006B3A 205F movea.l A0, [A7]+
00006B3C A069 syscall HGetState
00006B3E 1E80 move.b [A7], D0
00006B40 4ED1 jmp [A1]
export_176:
fn00006B42:
00006B42 225F movea.l A1, [A7]+
00006B44 101F move.b D0, [A7]+
00006B46 205F movea.l A0, [A7]+
00006B48 A06A syscall HSetState
00006B4A 4ED1 jmp [A1]
export_177:
00006B4C 4E56 FF86 link A6, -0x007A
00006B50 48E7 0118 movem.l -[A7], D7,A3,A4
00006B54 286E 0008 movea.l A4, [A6 + 0x8]
00006B58 266E 000C movea.l A3, [A6 + 0xC]
00006B5C 3D6E 0014 FF9C move.w [A6 - 0x64], [A6 + 0x14]
00006B62 2D6E 0010 FFB6 move.l [A6 - 0x4A], [A6 + 0x10]
00006B68 2D4B FF98 move.l [A6 - 0x68], A3
00006B6C 422E FFA0 clr.b [A6 - 0x60]
00006B70 426E FFA2 clr.w [A6 - 0x5E]
00006B74 558F subq.l A7, 2
00006B76 486E FF86 pea.l [A6 - 0x7A]
00006B7A 7000 moveq.l D0, 0x00
00006B7C 1F00 move.b -[A7], D0
00006B7E 4EBA FEBE jsr [PC - 0x142 /* 00006A3E */]
00006B82 3E1F move.w D7, [A7]+
00006B84 41EE FFA6 lea.l A0, [A6 - 0x5A]
00006B88 224C movea.l A1, A4
00006B8A 22D8 move.l [A1]+, [A0]+
00006B8C 22D8 move.l [A1]+, [A0]+
00006B8E 22D8 move.l [A1]+, [A0]+
00006B90 22D8 move.l [A1]+, [A0]+
00006B92 3D47 0016 move.w [A6 + 0x16], D7
00006B96 4CEE 1880 FF7A movem.l D7,A3,A4, [A6 - 0x86]
00006B9C 4E5E unlink A6
00006B9E 205F movea.l A0, [A7]+
00006BA0 DEFC 000E add.w A7, 0xE
00006BA4 4ED0 jmp [A0]
00006BA6 8948 4745 pack -[A4], -[A0], 0x4745
00006BAA 5446 addq.w D6, 2
00006BAC 494E chk.w D4, A6
00006BAE 464F not.w A7
00006BB0 0000 206F ori.b D0, 0x6F /* 'o' */
// begin alternate branch 00006BB2-00006BB8
export_178:
fn00006BB2:
00006BB2 206F 0004 movea.l A0, [A7 + 0x4]
00006BB6 2050 movea.l A0, [A0]
// end alternate branch 00006BB2-00006BB8
export_178: // at 00006BB2 (misaligned)
fn00006BB2: // (misaligned)
00006BB4 0004 2050 ori.b D4, 0x50 /* 'P' */
00006BB8 A9E1 syscall HandToHand
00006BBA 226F 0004 movea.l A1, [A7 + 0x4]
00006BBE 2288 move.l [A1], A0
00006BC0 3F40 0008 move.w [A7 + 0x8], D0
00006BC4 2E9F move.l [A7], [A7]+
00006BC6 4E75 rts
export_179:
00006BC8 221F move.l D1, [A7]+
00006BCA 201F move.l D0, [A7]+
00006BCC 225F movea.l A1, [A7]+
00006BCE 205F movea.l A0, [A7]+
00006BD0 2F01 move.l -[A7], D1
00006BD2 A9E2 syscall PtrToXHand
00006BD4 3F40 0004 move.w [A7 + 0x4], D0
00006BD8 4E75 rts
export_180:
fn00006BDA:
00006BDA 206F 000C movea.l A0, [A7 + 0xC]
00006BDE 202F 0004 move.l D0, [A7 + 0x4]
00006BE2 A9E3 syscall PtrToHand
00006BE4 3F40 0010 move.w [A7 + 0x10], D0
00006BE8 226F 0008 movea.l A1, [A7 + 0x8]
00006BEC 2288 move.l [A1], A0
00006BEE 205F movea.l A0, [A7]+
00006BF0 DEFC 000C add.w A7, 0xC
00006BF4 4ED0 jmp [A0]
export_181:
fn00006BF6:
00006BF6 202F 0004 move.l D0, [A7 + 0x4]
00006BFA 226F 0008 movea.l A1, [A7 + 0x8]
00006BFE 206F 000C movea.l A0, [A7 + 0xC]
00006C02 A9EF syscall PtrAndHand
00006C04 3F40 0010 move.w [A7 + 0x10], D0
00006C08 205F movea.l A0, [A7]+
00006C0A DEFC 000C add.w A7, 0xC
00006C0E 4ED0 jmp [A0]
export_182:
00006C10 6118 bsr +0x1A /* 00006C2A */
00006C12 A9DB syscall TEPaste
label00006C14:
00006C14 2E9F move.l [A7], [A7]+
00006C16 4E75 rts
export_184:
00006C18 6110 bsr +0x12 /* 00006C2A */
00006C1A A9D6 syscall TECut
00006C1C 60F6 bra -0x8 /* 00006C14 */
export_183:
00006C1E 610A bsr +0xC /* 00006C2A */
00006C20 A9D5 syscall TECopy
00006C22 60F0 bra -0xE /* 00006C14 */
00006C24 6104 bsr +0x6 /* 00006C2A */
00006C26 A9D7 syscall TEDelete
00006C28 60EA bra -0x14 /* 00006C14 */
fn00006C2A:
00006C2A 206F 0008 movea.l A0, [A7 + 0x8]
00006C2E 4A68 00A4 tst.w [A0 + 0xA4]
00006C32 6B08 bmi +0xA /* 00006C3C */
00006C34 225F movea.l A1, [A7]+
00006C36 2F28 00A0 move.l -[A7], [A0 + 0xA0]
00006C3A 4ED1 jmp [A1]
label00006C3C:
00006C3C 4CDF 0301 movem.l D0,A0,A1, [A7]+
00006C40 4ED0 jmp [A0]
export_185:
00006C42 42A7 clr.l -[A7]
00006C44 594F subq.w A7, 4
00006C46 42A7 clr.l -[A7]
00006C48 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00006C4E 486F 000C pea.l [A7 + 0xC]
00006C52 A9FD syscall GetScrap
00006C54 201F move.l D0, [A7]+
00006C56 584F addq.w A7, 4
00006C58 6B28 bmi +0x2A /* 00006C82 */
00006C5A 0C80 0000 7D01 cmpi.l D0, 0x7D01
00006C60 6B06 bmi +0x8 /* 00006C68 */
00006C62 303C FE0B move.w D0, 0xFE0B
00006C66 601A bra +0x1C /* 00006C82 */
label00006C68:
00006C68 42A7 clr.l -[A7]
00006C6A 594F subq.w A7, 4
00006C6C 2F38 0AB4 move.l -[A7], [0x00000AB4 /* TEScrpHandle */]
00006C70 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00006C76 486F 000C pea.l [A7 + 0xC]
00006C7A A9FD syscall GetScrap
00006C7C 201F move.l D0, [A7]+
00006C7E 584F addq.w A7, 4
00006C80 6A0A bpl +0xC /* 00006C8C */
label00006C82:
00006C82 3F40 0004 move.w [A7 + 0x4], D0
00006C86 4278 0AB0 clr.w [0x00000AB0 /* TEScrpLength */]
00006C8A 6008 bra +0xA /* 00006C94 */
label00006C8C:
00006C8C 426F 0004 clr.w [A7 + 0x4]
00006C90 31C0 0AB0 move.w [0x00000AB0 /* TEScrpLength */], D0
label00006C94:
00006C94 4E75 rts
export_186:
00006C96 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
00006C9A A029 syscall HLock
00006C9C 594F subq.w A7, 4
00006C9E 7000 moveq.l D0, 0x00
00006CA0 3038 0AB0 move.w D0, [0x00000AB0 /* TEScrpLength */]
00006CA4 2F00 move.l -[A7], D0
00006CA6 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00006CAC 2F10 move.l -[A7], [A0]
00006CAE A9FE syscall PutScrap
00006CB0 544F addq.w A7, 2
00006CB2 3F5F 0004 move.w [A7 + 0x4], [A7]+
00006CB6 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
00006CBA A02A syscall HUnlock
00006CBC 4E75 rts
export_187:
00006CBE 201F move.l D0, [A7]+
00006CC0 225F movea.l A1, [A7]+
00006CC2 2251 movea.l A1, [A1]
00006CC4 2B5F 0014 move.l [A5 + 0x14], [A7]+
00006CC8 41FA 000A lea.l A0, [PC + 0xA /* 00006CD4, value 0x2F024227 */]
00006CCC 2348 002A move.l [A1 + 0x2A], A0
00006CD0 2040 movea.l A0, D0
00006CD2 4ED0 jmp [A0]
00006CD4 2F02 move.l -[A7], D2
00006CD6 4227 clr.b -[A7]
00006CD8 206D 0014 movea.l A0, [A5 + 0x14]
00006CDC 4E90 jsr [A0]
00006CDE 101F move.b D0, [A7]+
00006CE0 241F move.l D2, [A7]+
00006CE2 4A00 tst.b D0
00006CE4 4E75 rts
export_188:
fn00006CE6:
00006CE6 4E56 0000 link A6, 0
00006CEA 594F subq.w A7, 4
00006CEC 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
00006CF2 3F2E 000A move.w -[A7], [A6 + 0xA]
00006CF6 A9A0 syscall GetResource
00006CF8 226E 000C movea.l A1, [A6 + 0xC]
00006CFC 4211 clr.b [A1]
00006CFE 201F move.l D0, [A7]+
00006D00 6720 beq +0x22 /* 00006D22 */
00006D02 2040 movea.l A0, D0
00006D04 2050 movea.l A0, [A0]
00006D06 3018 move.w D0, [A0]+
00006D08 322E 0008 move.w D1, [A6 + 0x8]
00006D0C B240 cmp.w D1, D0
00006D0E 6E12 bgt +0x14 /* 00006D22 */
00006D10 7000 moveq.l D0, 0x00
label00006D12:
00006D12 5341 subq.w D1, 1
00006D14 6706 beq +0x8 /* 00006D1C */
00006D16 1018 move.b D0, [A0]+
00006D18 D1C0 add.l A0, D0
00006D1A 60F6 bra -0x8 /* 00006D12 */
label00006D1C:
00006D1C 1010 move.b D0, [A0]
00006D1E 5240 addq.w D0, 1
00006D20 A02E syscall BlockMove/BlockMoveData
label00006D22:
00006D22 4E5E unlink A6
00006D24 205F movea.l A0, [A7]+
00006D26 508F addq.l A7, 8
00006D28 4ED0 jmp [A0]
export_189:
00006D2A 4E56 0000 link A6, 0
00006D2E 594F subq.w A7, 4
00006D30 2F3C 5041 5423 move.l -[A7], 0x50415423 /* 'PAT#' */
00006D36 3F2E 000A move.w -[A7], [A6 + 0xA]
00006D3A A9A0 syscall GetResource
00006D3C 226E 000C movea.l A1, [A6 + 0xC]
00006D40 201F move.l D0, [A7]+
00006D42 671C beq +0x1E /* 00006D60 */
00006D44 2040 movea.l A0, D0
00006D46 2050 movea.l A0, [A0]
00006D48 3018 move.w D0, [A0]+
00006D4A 322E 0008 move.w D1, [A6 + 0x8]
00006D4E 6F10 ble +0x12 /* 00006D60 */
00006D50 B240 cmp.w D1, D0
00006D52 6E0C bgt +0xE /* 00006D60 */
label00006D54:
00006D54 5341 subq.w D1, 1
00006D56 6704 beq +0x6 /* 00006D5C */
00006D58 5048 addq.w A0, 8
00006D5A 60F8 bra -0x6 /* 00006D54 */
label00006D5C:
00006D5C 7008 moveq.l D0, 0x08
00006D5E A02E syscall BlockMove/BlockMoveData
label00006D60:
00006D60 4E5E unlink A6
00006D62 205F movea.l A0, [A7]+
00006D64 508F addq.l A7, 8
00006D66 4ED0 jmp [A0]
export_190:
00006D68 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
00006D6E 6202 bhi +0x4 /* 00006D72 */
00006D70 AC14 syscall SetFractEnable, auto_pop
label00006D72:
00006D72 205F movea.l A0, [A7]+
00006D74 11DF 0BF4 move.b [0x00000BF4 /* FractEnable */], [A7]+
00006D78 21F8 0A06 0B4C move.l [0x00000B4C /* LastSPExtra */], [0x00000A06 /* MinusOne */]
00006D7E 4ED0 jmp [A0]
export_191:
fn00006D80:
00006D80 4A78 028E tst.w [0x0000028E /* ROM85 */]
00006D84 6B22 bmi +0x24 /* 00006DA8 */
00006D86 303C 0090 move.w D0, 0x90
00006D8A A346 syscall GetOSTrapAddress, flags=3
00006D8C 2248 movea.l A1, A0
00006D8E 303C 009F move.w D0, 0x9F
00006D92 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00006D94 B3C8 cmpa.l A1, A0
00006D96 6710 beq +0x12 /* 00006DA8 */
00006D98 225F movea.l A1, [A7]+
00006D9A 205F movea.l A0, [A7]+
00006D9C 301F move.w D0, [A7]+
00006D9E 2F09 move.l -[A7], A1
00006DA0 A090 syscall SysEnvirons
00006DA2 3F40 0004 move.w [A7 + 0x4], D0
00006DA6 4E75 rts
label00006DA8:
00006DA8 206F 0004 movea.l A0, [A7 + 0x4]
00006DAC 303C 0001 move.w D0, 0x1
00006DB0 2248 movea.l A1, A0
00006DB2 6006 bra +0x8 /* 00006DBA */
00006DB4 0313 btst [A3], D1
00006DB6 0B02 btst D2, D5
00006DB8 0100 btst D0, D0
label00006DBA:
00006DBA 303C 0010 move.w D0, 0x10
00006DBE E240 asr D0.w, 1
00006DC0 5340 subq.w D0, 1
label00006DC2:
00006DC2 4258 clr.w [A0]+
00006DC4 51C8 FFFC dbf D0, -0x6 /* 00006DC2 */
00006DC8 32BC 0001 move.w [A1], 0x1
00006DCC 2078 02AE movea.l A0, [0x000002AE /* ROMBase */]
00006DD0 337C FFFE 0002 move.w [A1 + 0x2], 0xFFFE
00006DD6 0C28 00FF 0009 cmpi.b [A0 + 0x9], 0xFF
00006DDC 6742 beq +0x44 /* 00006E20 */
00006DDE 4A28 0008 tst.b [A0 + 0x8]
00006DE2 6E20 bgt +0x22 /* 00006E04 */
00006DE4 337C FFFF 0002 move.w [A1 + 0x2], 0xFFFF
00006DEA 4A78 028E tst.w [0x0000028E /* ROM85 */]
00006DEE 6B30 bmi +0x32 /* 00006E20 */
00006DF0 337C 0001 0002 move.w [A1 + 0x2], 0x1
00006DF6 4A78 0B22 tst.w [0x00000B22 /* HWCfgFlags */]
00006DFA 6A24 bpl +0x26 /* 00006E20 */
00006DFC 337C 0002 0002 move.w [A1 + 0x2], 0x2
00006E02 601C bra +0x1E /* 00006E20 */
label00006E04:
00006E04 4269 0002 clr.w [A1 + 0x2]
00006E08 0C28 0002 0008 cmpi.b [A0 + 0x8], 0x2
00006E0E 6E10 bgt +0x12 /* 00006E20 */
00006E10 6708 beq +0xA /* 00006E1A */
00006E12 337C 0004 0002 move.w [A1 + 0x2], 0x4
00006E18 6006 bra +0x8 /* 00006E20 */
label00006E1A:
00006E1A 337C 0003 0002 move.w [A1 + 0x2], 0x3
label00006E20:
00006E20 4269 0004 clr.w [A1 + 0x4]
00006E24 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
00006E2A 6E0A bgt +0xC /* 00006E36 */
00006E2C 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
00006E30 5240 addq.w D0, 1
00006E32 1340 0007 move.b [A1 + 0x7], D0
label00006E36:
00006E36 4A78 028E tst.w [0x0000028E /* ROM85 */]
00006E3A 6B0E bmi +0x10 /* 00006E4A */
00006E3C 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
00006E42 6706 beq +0x8 /* 00006E4A */
00006E44 137C 0001 0008 move.b [A1 + 0x8], 0x1
label00006E4A:
00006E4A 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
00006E50 6206 bhi +0x8 /* 00006E58 */
00006E52 137C 0001 0009 move.b [A1 + 0x9], 0x1
label00006E58:
00006E58 1038 021E move.b D0, [0x0000021E /* KbdType */]
00006E5C 41FA FF5B lea.l A0, [PC - 0xA5 /* 00006DB9, value 0x303C00 '0<\0', cstring "" */]
00006E60 323C 0004 move.w D1, 0x4
label00006E64:
00006E64 B020 cmp.b D0, -[A0]
00006E66 57C9 FFFC dbeq D1, -0x6 /* 00006E64 */
00006E6A 5241 addq.w D1, 1
00006E6C 3341 000A move.w [A1 + 0xA], D1
00006E70 4A38 0291 tst.b [0x00000291 /* PortBUse */]
00006E74 6B18 bmi +0x1A /* 00006E8E */
00006E76 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
00006E7A 0201 000F andi.b D1, 0xF
00006E7E 0C01 0001 cmpi.b D1, 0x1
00006E82 660A bne +0xC /* 00006E8E */
00006E84 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
00006E88 1368 0007 000D move.b [A1 + 0xD], [A0 + 0x7]
label00006E8E:
00006E8E 3378 0210 000E move.w [A1 + 0xE], [0x00000210 /* BootDrive */]
00006E94 4A78 03F6 tst.w [0x000003F6 /* FSFCBLen */]
00006E98 6D44 blt +0x46 /* 00006EDE */
00006E9A 4269 000E clr.w [A1 + 0xE]
00006E9E 323C 003C move.w D1, 0x3C /* '<' */
label00006EA2:
00006EA2 4267 clr.w -[A7]
00006EA4 51C9 FFFC dbf D1, -0x6 /* 00006EA2 */
00006EA8 204F movea.l A0, A7
00006EAA 3178 0A58 0018 move.w [A0 + 0x18], [0x00000A58 /* SysMap */]
00006EB0 7008 moveq.l D0, 0x08
00006EB2 A260 syscall FSDispatch/HFSDispatch, flags=2
00006EB4 6624 bne +0x26 /* 00006EDA */
00006EB6 3168 0034 0016 move.w [A0 + 0x16], [A0 + 0x34]
00006EBC A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00006EBE 661A bne +0x1C /* 00006EDA */
00006EC0 2168 005A 0030 move.l [A0 + 0x30], [A0 + 0x5A]
00006EC6 217C 4552 494B 001C move.l [A0 + 0x1C], 0x4552494B /* 'ERIK' */
00006ECE 7001 moveq.l D0, 0x01
00006ED0 A260 syscall FSDispatch/HFSDispatch, flags=2
00006ED2 6606 bne +0x8 /* 00006EDA */
00006ED4 3368 0016 000E move.w [A1 + 0xE], [A0 + 0x16]
label00006EDA:
00006EDA DEFC 007A add.w A7, 0x7A /* 'z' */
label00006EDE:
00006EDE 2049 movea.l A0, A1
00006EE0 225F movea.l A1, [A7]+
00006EE2 5C4F addq.w A7, 6
00006EE4 3EBC EA84 move.w [A7], 0xEA84
00006EE8 4ED1 jmp [A1]
export_192:
fn00006EEA:
00006EEA 202F 0008 move.l D0, [A7 + 0x8]
00006EEE A1AD syscall Gestalt, flags=1
00006EF0 226F 0004 movea.l A1, [A7 + 0x4]
00006EF4 2288 move.l [A1], A0
00006EF6 3F40 000C move.w [A7 + 0xC], D0
00006EFA 205F movea.l A0, [A7]+
00006EFC 508F addq.l A7, 8
00006EFE 4ED0 jmp [A0]
00006F00 7401 moveq.l D2, 0x01
label00006F02:
00006F02 205F movea.l A0, [A7]+
00006F04 3F02 move.w -[A7], D2
00006F06 2F08 move.l -[A7], A0
00006F08 ADEA syscall Pack3, auto_pop
export_193:
00006F0A 7404 moveq.l D2, 0x04
00006F0C 4EFA FFF4 jmp [PC - 0xC /* 00006F02 */]
00006F10 7402 moveq.l D2, 0x02
label00006F12:
00006F12 205F movea.l A0, [A7]+
00006F14 3F02 move.w -[A7], D2
00006F16 2F08 move.l -[A7], A0
00006F18 ADE9 syscall Pack2, auto_pop
fn00006F1A:
00006F1A 7400 moveq.l D2, 0x00
00006F1C 4EFA FFF4 jmp [PC - 0xC /* 00006F12 */]
export_194:
00006F20 343C 000A move.w D2, 0xA /* '\n' */
00006F24 4EFA 0006 jmp [PC + 0x6 /* 00006F2C */]
export_195:
00006F28 343C 000C move.w D2, 0xC
label00006F2C:
00006F2C 226F 0004 movea.l A1, [A7 + 0x4]
00006F30 206F 0008 movea.l A0, [A7 + 0x8]
00006F34 4240 clr.w D0
00006F36 4241 clr.w D1
00006F38 1018 move.b D0, [A0]+
00006F3A 1219 move.b D1, [A1]+
00006F3C 2F48 0008 move.l [A7 + 0x8], A0
00006F40 2F49 0004 move.l [A7 + 0x4], A1
00006F44 205F movea.l A0, [A7]+
00006F46 3F00 move.w -[A7], D0
00006F48 3F01 move.w -[A7], D1
00006F4A 3F02 move.w -[A7], D2
00006F4C 2F08 move.l -[A7], A0
00006F4E ADED syscall Pack6, auto_pop
export_196:
00006F50 206F 0004 movea.l A0, [A7 + 0x4]
00006F54 202F 0008 move.l D0, [A7 + 0x8]
00006F58 4267 clr.w -[A7]
00006F5A A9EE syscall Pack7/DecStr68K
00006F5C 205F movea.l A0, [A7]+
00006F5E 504F addq.w A7, 8
00006F60 4ED0 jmp [A0]
export_197:
00006F62 2F17 move.l -[A7], [A7]
00006F64 2F7C 0400 0C00 0004 move.l [A7 + 0x4], 0x4000C00
00006F6C 4EFA 0080 jmp [PC + 0x80 /* 00006FEE */]
export_198:
00006F70 2F17 move.l -[A7], [A7]
00006F72 2F7C 0800 0484 0004 move.l [A7 + 0x4], 0x8000484
00006F7A 4EFA 0072 jmp [PC + 0x72 /* 00006FEE */]
export_199:
00006F7E 2F17 move.l -[A7], [A7]
00006F80 2F7C 1000 0808 0004 move.l [A7 + 0x4], 0x10000808
00006F88 4EFA 0064 jmp [PC + 0x64 /* 00006FEE */]
export_200:
00006F8C 2F17 move.l -[A7], [A7]
00006F8E 2F7C 1800 040C 0004 move.l [A7 + 0x4], 0x1800040C
00006F96 4EFA 0056 jmp [PC + 0x56 /* 00006FEE */]
export_201:
00006F9A 2F17 move.l -[A7], [A7]
00006F9C 2F7C 2004 0480 0004 move.l [A7 + 0x4], 0x20040480
00006FA4 4EFA 0048 jmp [PC + 0x48 /* 00006FEE */]
export_202:
00006FA8 2F17 move.l -[A7], [A7]
00006FAA 2F7C 5204 0498 0004 move.l [A7 + 0x4], 0x52040498
00006FB2 4EFA 003A jmp [PC + 0x3A /* 00006FEE */]
export_203:
00006FB6 2F17 move.l -[A7], [A7]
00006FB8 2F7C 6005 1480 0004 move.l [A7 + 0x4], 0x60051480
00006FC0 4EFA 002C jmp [PC + 0x2C /* 00006FEE */]
export_204:
00006FC4 2F17 move.l -[A7], [A7]
00006FC6 2F7C BA00 0000 0004 move.l [A7 + 0x4], 0xBA000000
00006FCE 4EFA 001E jmp [PC + 0x1E /* 00006FEE */]
export_205:
00006FD2 2F17 move.l -[A7], [A7]
00006FD4 2F7C C800 0000 0004 move.l [A7 + 0x4], 0xC8000000
00006FDC 4EFA 0010 jmp [PC + 0x10 /* 00006FEE */]
export_206:
00006FE0 2F17 move.l -[A7], [A7]
00006FE2 2F7C D000 0000 0004 move.l [A7 + 0x4], 0xD0000000
00006FEA 4EFA 0002 jmp [PC + 0x2 /* 00006FEE */]
fn00006FEE:
00006FEE 2F0B move.l -[A7], A3
00006FF0 203C 0000 A89F move.l D0, 0xA89F
00006FF6 A146 syscall GetTrapAddress, flags=1
00006FF8 2648 movea.l A3, A0
00006FFA 203C 0000 A8FD move.l D0, 0xA8FD
00007000 A146 syscall GetTrapAddress, flags=1
00007002 B7C8 cmpa.l A3, A0
00007004 6746 beq +0x48 /* 0000704C */
00007006 265F movea.l A3, [A7]+
00007008 4E56 0000 link A6, 0
0000700C 41EE 0008 lea.l A0, [A6 + 0x8]
00007010 7007 moveq.l D0, 0x07
00007012 C02E 0008 and.b D0, [A6 + 0x8]
00007016 D02E 000A add.b D0, [A6 + 0xA]
0000701A 5800 addq.b D0, 4
0000701C 9EC0 sub.w A7, D0
0000701E 224F movea.l A1, A7
00007020 A02E syscall BlockMove/BlockMoveData
00007022 A8FD syscall PrGlue
00007024 7200 moveq.l D1, 0x00
00007026 122E 000A move.b D1, [A6 + 0xA]
0000702A 7007 moveq.l D0, 0x07
0000702C C02E 0008 and.b D0, [A6 + 0x8]
00007030 6710 beq +0x12 /* 00007042 */
00007032 204F movea.l A0, A7
00007034 43F6 100C lea.l A1, [A6 + D1.w + 0xC]
00007038 E248 lsr D0.w, 1
0000703A 6002 bra +0x4 /* 0000703E */
label0000703C:
0000703C 32DF move.w [A1]+, [A7]+
label0000703E:
0000703E 51C8 FFFC dbf D0, -0x6 /* 0000703C */
label00007042:
00007042 4E5E unlink A6
00007044 205F movea.l A0, [A7]+
00007046 DFC1 add.l A7, D1
00007048 584F addq.w A7, 4
0000704A 4ED0 jmp [A0]
label0000704C:
0000704C 265F movea.l A3, [A7]+
0000704E 4E56 0000 link A6, 0
00007052 48E7 0018 movem.l -[A7], A3,A4
00007056 7200 moveq.l D1, 0x00
00007058 122E 0008 move.b D1, [A6 + 0x8]
0000705C E609 lsr D1.b, 3
0000705E 6718 beq +0x1A /* 00007078 */
00007060 4A2E 0008 tst.b [A6 + 0x8]
00007064 6B00 00C2 bmi +0xC4 /* 00007128 */
00007068 7400 moveq.l D2, 0x00
0000706A 142E 0009 move.b D2, [A6 + 0x9]
0000706E 661E bne +0x20 /* 0000708E */
00007070 7403 moveq.l D2, 0x03
00007072 C438 0946 and.b D2, [0x00000946 /* ChooserBits */]
00007076 6016 bra +0x18 /* 0000708E */
label00007078:
00007078 206E 0014 movea.l A0, [A6 + 0x14]
0000707C 2050 movea.l A0, [A0]
0000707E 7403 moveq.l D2, 0x03
00007080 C428 0044 and.b D2, [A0 + 0x44]
00007084 0238 00FC 0946 andi.b [0x00000946 /* ChooserBits */], 0xFC
0000708A 8538 0946 or.b [0x00000946 /* ChooserBits */], D2
label0000708E:
0000708E 3678 0A5A movea.w A3, [0x00000A5A /* CurMap */]
00007092 42A7 clr.l -[A7]
00007094 2F3C 5044 4546 move.l -[A7], 0x50444546 /* 'PDEF' */
0000709A 3F02 move.w -[A7], D2
0000709C A9A0 syscall GetResource
0000709E 201F move.l D0, [A7]+
000070A0 4A80 tst.l D0
000070A2 664A bne +0x4C /* 000070EE */
000070A4 0C78 FFFF 0952 cmpi.w [0x00000952 /* PrRefNum */], 0xFFFF
000070AA 670C beq +0xE /* 000070B8 */
000070AC 3F38 0952 move.w -[A7], [0x00000952 /* PrRefNum */]
000070B0 A998 syscall UseResFile
000070B2 4A78 0A60 tst.w [0x00000A60 /* ResErr */]
000070B6 6716 beq +0x18 /* 000070CE */
label000070B8:
000070B8 6100 01D0 bsr +0x1D2 /* 0000728A */
000070BC 4A40 tst.w D0
000070BE 6708 beq +0xA /* 000070C8 */
000070C0 31C0 0944 move.w [0x00000944 /* PrintErr */], D0
000070C4 6000 00B0 bra +0xB2 /* 00007176 */
label000070C8:
000070C8 3F38 0952 move.w -[A7], [0x00000952 /* PrRefNum */]
000070CC A998 syscall UseResFile
label000070CE:
000070CE 42A7 clr.l -[A7]
000070D0 2F3C 5044 4546 move.l -[A7], 0x50444546 /* 'PDEF' */
000070D6 3F02 move.w -[A7], D2
000070D8 A9A0 syscall GetResource
000070DA 201F move.l D0, [A7]+
000070DC 4A80 tst.l D0
000070DE 660E bne +0x10 /* 000070EE */
000070E0 3F0B move.w -[A7], A3
000070E2 A998 syscall UseResFile
000070E4 31FC FF40 0944 move.w [0x00000944 /* PrintErr */], 0xFF40
000070EA 6000 008A bra +0x8C /* 00007176 */
label000070EE:
000070EE 2840 movea.l A4, D0
000070F0 204C movea.l A0, A4
000070F2 A029 syscall HLock
000070F4 3F0B move.w -[A7], A3
000070F6 A998 syscall UseResFile
000070F8 41EE 000C lea.l A0, [A6 + 0xC]
000070FC 7007 moveq.l D0, 0x07
000070FE C02E 0008 and.b D0, [A6 + 0x8]
00007102 D02E 000A add.b D0, [A6 + 0xA]
00007106 9EC0 sub.w A7, D0
00007108 224F movea.l A1, A7
0000710A A02E syscall BlockMove/BlockMoveData
0000710C 102E 000B move.b D0, [A6 + 0xB]
00007110 0200 007F andi.b D0, 0x7F
00007114 2054 movea.l A0, [A4]
00007116 4EB0 0000 jsr [A0 + D0.w]
0000711A 102E 000B move.b D0, [A6 + 0xB]
0000711E 6A04 bpl +0x6 /* 00007124 */
00007120 204C movea.l A0, A4
00007122 A02A syscall HUnlock
label00007124:
00007124 6000 011A bra +0x11C /* 00007240 */
label00007128:
00007128 9EFC 0032 sub.w A7, 0x32 /* '2' */
0000712C 41FA 0194 lea.l A0, [PC + 0x194 /* 000072C2, value 0x62E5072, pstring ".Print" */]
00007130 2F48 0012 move.l [A7 + 0x12], A0
00007134 3F7C FFFD 0018 move.w [A7 + 0x18], 0xFFFD
0000713A 422F 001B clr.b [A7 + 0x1B]
0000713E 204F movea.l A0, A7
00007140 7000 moveq.l D0, 0x00
00007142 0881 0004 bclr.b D1, 0x4
00007146 D241 add.w D1, D1
00007148 323B 1006 move.w D1, [PC + D1.w + 0x6]
0000714C 4EFB 1002 jmp [PC + D1.w + 0x2]
00007150 0068 006C 0070 ori.w [A0 + 0x70], 0x6C /* 'l' */
00007156 007A 008C 00A8 ori.w [PC + 0xA8 /* 00007200, value 0x5, cstring "" */], 0x8C
0000715C 00BA 00DA 00E4 0030 ori.l [PC + 0x30 /* 0000718E, value 0x66247200 'f$r\0', cstring "f$r" */], 0xDA00E4
00007164 0044 0020 ori.w D4, 0x20 /* ' ' */
00007168 0020 0020 ori.b -[A0], 0x20 /* ' ' */
0000716C 0020 0020 ori.b -[A0], 0x20 /* ' ' */
00007170 31FC FFCE 0944 move.w [0x00000944 /* PrintErr */], 0xFFCE
label00007176:
00007176 7200 moveq.l D1, 0x00
00007178 122E 000A move.b D1, [A6 + 0xA]
0000717C 6000 00E0 bra +0xE2 /* 0000725E */
00007180 2F3C 8000 0000 move.l -[A7], 0x80000000
00007186 4EBA FE66 jsr [PC - 0x19A /* 00006FEE */]
0000718A 3038 0944 move.w D0, [0x00000944 /* PrintErr */]
0000718E 6624 bne +0x26 /* 000071B4 */
00007190 7200 moveq.l D1, 0x00
00007192 6002 bra +0x4 /* 00007196 */
00007194 7201 moveq.l D1, 0x01
label00007196:
00007196 6100 00F2 bsr +0xF4 /* 0000728A */
0000719A 4A40 tst.w D0
0000719C 6616 bne +0x18 /* 000071B4 */
0000719E 3038 0952 move.w D0, [0x00000952 /* PrRefNum */]
000071A2 4A78 0A60 tst.w [0x00000A60 /* ResErr */]
000071A6 6608 bne +0xA /* 000071B0 */
000071A8 4A41 tst.w D1
000071AA 6704 beq +0x6 /* 000071B0 */
000071AC 3F00 move.w -[A7], D0
000071AE A99A syscall CloseResFile
label000071B0:
000071B0 3038 0A60 move.w D0, [0x00000A60 /* ResErr */]
label000071B4:
000071B4 6000 0082 bra +0x84 /* 00007238 */
000071B8 A000 syscall Open/PBHOpen/HOpen
000071BA 607C bra +0x7E /* 00007238 */
000071BC A001 syscall Close
000071BE 6078 bra +0x7A /* 00007238 */
000071C0 615A bsr +0x5C /* 0000721C */
000071C2 DEFC 002E add.w A7, 0x2E /* '.' */
000071C6 2E88 move.l [A7], A0
000071C8 6076 bra +0x78 /* 00007240 */
000071CA 6150 bsr +0x52 /* 0000721C */
000071CC 2050 movea.l A0, [A0]
000071CE 7000 moveq.l D0, 0x00
000071D0 1028 0007 move.b D0, [A0 + 0x7]
000071D4 DEFC 0030 add.w A7, 0x30 /* '0' */
000071D8 3E80 move.w [A7], D0
000071DA 6064 bra +0x66 /* 00007240 */
000071DC 216E 000C 0024 move.l [A0 + 0x24], [A6 + 0xC]
000071E2 216E 0010 0020 move.l [A0 + 0x20], [A6 + 0x10]
000071E8 216E 0014 001C move.l [A0 + 0x1C], [A6 + 0x14]
000071EE 316E 0018 001A move.w [A0 + 0x1A], [A6 + 0x18]
000071F4 A004 syscall Control
000071F6 6040 bra +0x42 /* 00007238 */
000071F8 6122 bsr +0x24 /* 0000721C */
000071FA 2050 movea.l A0, [A0]
000071FC 0828 0006 0005 btst.b [A0 + 0x5], 0x6
00007202 6734 beq +0x36 /* 00007238 */
00007204 2050 movea.l A0, [A0]
00007206 A049 syscall HPurge
00007208 602E bra +0x30 /* 00007238 */
0000720A 6110 bsr +0x12 /* 0000721C */
0000720C 2050 movea.l A0, [A0]
0000720E 0828 0006 0005 btst.b [A0 + 0x5], 0x6
00007214 6722 beq +0x24 /* 00007238 */
00007216 2050 movea.l A0, [A0]
00007218 A04A syscall HNoPurge
0000721A 601C bra +0x1E /* 00007238 */
fn0000721C:
0000721C 317C 0001 001A move.w [A0 + 0x1A], 0x1
00007222 A005 syscall Status
00007224 2068 001C movea.l A0, [A0 + 0x1C]
00007228 4E75 rts
0000722A DEFC 0030 add.w A7, 0x30 /* '0' */
0000722E 3EB8 0944 move.w [A7], [0x00000944 /* PrintErr */]
00007232 600C bra +0xE /* 00007240 */
00007234 302E 000C move.w D0, [A6 + 0xC]
label00007238:
00007238 DEFC 0032 add.w A7, 0x32 /* '2' */
0000723C 31C0 0944 move.w [0x00000944 /* PrintErr */], D0
label00007240:
00007240 7200 moveq.l D1, 0x00
00007242 122E 000A move.b D1, [A6 + 0xA]
00007246 7007 moveq.l D0, 0x07
00007248 C02E 0008 and.b D0, [A6 + 0x8]
0000724C 6710 beq +0x12 /* 0000725E */
0000724E 204F movea.l A0, A7
00007250 43F6 100C lea.l A1, [A6 + D1.w + 0xC]
00007254 E248 lsr D0.w, 1
00007256 6002 bra +0x4 /* 0000725A */
label00007258:
00007258 32DF move.w [A1]+, [A7]+
label0000725A:
0000725A 51C8 FFFC dbf D0, -0x6 /* 00007258 */
label0000725E:
0000725E 4CDF 1800 movem.l A3,A4, [A7]+
00007262 4E5E unlink A6
00007264 205F movea.l A0, [A7]+
00007266 DFC1 add.l A7, D1
00007268 584F addq.w A7, 4
0000726A 4ED0 jmp [A0]
fn0000726C:
0000726C 7000 moveq.l D0, 0x00
fn0000726E:
0000726E 9EFC 0040 sub.w A7, 0x40 /* '@' */
00007272 204F movea.l A0, A7
00007274 3140 0016 move.w [A0 + 0x16], D0
00007278 42A8 0012 clr.l [A0 + 0x12]
0000727C A015 syscall SetVol/PBHSetVol/HSetVol
0000727E A014 syscall GetVol/PBHGetVol/HGetVol
00007280 3028 0016 move.w D0, [A0 + 0x16]
00007284 DEFC 0040 add.w A7, 0x40 /* '@' */
00007288 4E75 rts
fn0000728A:
0000728A 594F subq.w A7, 4
0000728C 3F3C E000 move.w -[A7], 0xE000
00007290 A9BA syscall GetString
00007292 201F move.l D0, [A7]+
00007294 6606 bne +0x8 /* 0000729C */
00007296 303C FF40 move.w D0, 0xFF40
0000729A 6024 bra +0x26 /* 000072C0 */
label0000729C:
0000729C 2240 movea.l A1, D0
0000729E 61CC bsr -0x32 /* 0000726C */
000072A0 4841 swap.w D1
000072A2 3200 move.w D1, D0
000072A4 554F subq.w A7, 2
000072A6 2049 movea.l A0, A1
000072A8 A029 syscall HLock
000072AA 2F11 move.l -[A7], [A1]
000072AC A997 syscall OpenResFile
000072AE 31DF 0952 move.w [0x00000952 /* PrRefNum */], [A7]+
000072B2 2049 movea.l A0, A1
000072B4 A02A syscall HUnlock
000072B6 3001 move.w D0, D1
000072B8 4841 swap.w D1
000072BA 61B2 bsr -0x4C /* 0000726E */
000072BC 3038 0A60 move.w D0, [0x00000A60 /* ResErr */]
label000072C0:
000072C0 4E75 rts
000072C2 062E 5072 696E addi.b [A6 + 0x696E], 0x72 /* 'r' */
000072C8 7420 moveq.l D2, 0x20
export_207:
fn000072CA:
000072CA 4A78 028E tst.w [0x0000028E /* ROM85 */]
000072CE 6B1C bmi +0x1E /* 000072EC */
000072D0 303C A89F move.w D0, 0xA89F
000072D4 A346 syscall GetOSTrapAddress, flags=3
000072D6 2248 movea.l A1, A0
000072D8 303C A055 move.w D0, 0xA055
000072DC A346 syscall GetOSTrapAddress, flags=3
000072DE B3C8 cmpa.l A1, A0
000072E0 670A beq +0xC /* 000072EC */
000072E2 225F movea.l A1, [A7]+
000072E4 201F move.l D0, [A7]+
000072E6 A055 syscall StripAddress
000072E8 2E80 move.l [A7], D0
000072EA 4ED1 jmp [A1]
label000072EC:
000072EC 225F movea.l A1, [A7]+
000072EE 201F move.l D0, [A7]+
000072F0 C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
000072F4 2E80 move.l [A7], D0
000072F6 4ED1 jmp [A1]
000072F8 3038 028E move.w D0, [0x0000028E /* ROM85 */]
000072FC 6A10 bpl +0x12 /* 0000730E */
000072FE 0838 0005 0291 btst.b [0x00000291 /* PortBUse */], 0x5
00007304 6708 beq +0xA /* 0000730E */
00007306 323C FFD7 move.w D1, 0xFFD7
0000730A 7000 moveq.l D0, 0x00
0000730C 601C bra +0x1E /* 0000732A */
label0000730E:
0000730E 9EFC 0032 sub.w A7, 0x32 /* '2' */
00007312 204F movea.l A0, A7
00007314 43FA 0124 lea.l A1, [PC + 0x124 /* 0000743A, value 0x42E5850, pstring ".XPP" */]
00007318 2149 0012 move.l [A0 + 0x12], A1
0000731C 4228 001B clr.b [A0 + 0x1B]
00007320 A000 syscall Open/PBHOpen/HOpen
00007322 3228 0018 move.w D1, [A0 + 0x18]
00007326 DEFC 0032 add.w A7, 0x32 /* '2' */
label0000732A:
0000732A 205F movea.l A0, [A7]+
0000732C 225F movea.l A1, [A7]+
0000732E 3281 move.w [A1], D1
00007330 3E80 move.w [A7], D0
00007332 4ED0 jmp [A0]
00007334 303C 00F5 move.w D0, 0xF5
00007338 6000 00D2 bra +0xD4 /* 0000740C */
0000733C 303C 00F4 move.w D0, 0xF4
00007340 6000 00CA bra +0xCC /* 0000740C */
00007344 303C 00F3 move.w D0, 0xF3
00007348 6000 00C2 bra +0xC4 /* 0000740C */
0000734C 303C 00F8 move.w D0, 0xF8
00007350 6000 00BA bra +0xBC /* 0000740C */
00007354 303C 00F7 move.w D0, 0xF7
00007358 6000 00B2 bra +0xB4 /* 0000740C */
0000735C 303C 00F6 move.w D0, 0xF6
00007360 6000 00AA bra +0xAC /* 0000740C */
export_212:
00007364 303C 00FD move.w D0, 0xFD
00007368 6000 00A2 bra +0xA4 /* 0000740C */
export_211:
0000736C 303C 00FB move.w D0, 0xFB
00007370 6000 009A bra +0x9C /* 0000740C */
00007374 303C 00FA move.w D0, 0xFA
00007378 6000 0092 bra +0x94 /* 0000740C */
export_210:
0000737C 303C 00FC move.w D0, 0xFC
00007380 6000 008A bra +0x8C /* 0000740C */
00007384 303C 0100 move.w D0, 0x100
00007388 6000 0082 bra +0x84 /* 0000740C */
export_208:
0000738C 303C 00FE move.w D0, 0xFE
00007390 607A bra +0x7C /* 0000740C */
00007392 303C 00FE move.w D0, 0xFE
00007396 6000 0080 bra +0x82 /* 00007418 */
0000739A 303C 00FA move.w D0, 0xFA
0000739E 6078 bra +0x7A /* 00007418 */
export_209:
000073A0 303C 00FF move.w D0, 0xFF
000073A4 6072 bra +0x74 /* 00007418 */
000073A6 303C 00FD move.w D0, 0xFD
000073AA 606C bra +0x6E /* 00007418 */
000073AC 303C 00FC move.w D0, 0xFC
000073B0 6066 bra +0x68 /* 00007418 */
000073B2 303C 00FB move.w D0, 0xFB
000073B6 6060 bra +0x62 /* 00007418 */
000073B8 303C 0100 move.w D0, 0x100
000073BC 605A bra +0x5C /* 00007418 */
000073BE 303C 00F9 move.w D0, 0xF9
000073C2 6054 bra +0x56 /* 00007418 */
000073C4 303C 00F8 move.w D0, 0xF8
000073C8 604E bra +0x50 /* 00007418 */
000073CA 303C 0102 move.w D0, 0x102
000073CE 6048 bra +0x4A /* 00007418 */
000073D0 303C 0101 move.w D0, 0x101
000073D4 6042 bra +0x44 /* 00007418 */
000073D6 303C 00FF move.w D0, 0xFF
000073DA 6046 bra +0x48 /* 00007422 */
000073DC 303C 00FE move.w D0, 0xFE
000073E0 6040 bra +0x42 /* 00007422 */
000073E2 303C 00F8 move.w D0, 0xF8
000073E6 603A bra +0x3C /* 00007422 */
000073E8 303C 00F9 move.w D0, 0xF9
000073EC 6034 bra +0x36 /* 00007422 */
000073EE 303C 00F7 move.w D0, 0xF7
000073F2 602E bra +0x30 /* 00007422 */
000073F4 303C 00FC move.w D0, 0xFC
000073F8 6028 bra +0x2A /* 00007422 */
000073FA 303C 00FD move.w D0, 0xFD
000073FE 6022 bra +0x24 /* 00007422 */
00007400 303C 00FB move.w D0, 0xFB
00007404 601C bra +0x1E /* 00007422 */
00007406 303C 00FA move.w D0, 0xFA
0000740A 6016 bra +0x18 /* 00007422 */
label0000740C:
0000740C 206F 0006 movea.l A0, [A7 + 0x6]
00007410 317C FFF6 0018 move.w [A0 + 0x18], 0xFFF6
00007416 600A bra +0xC /* 00007422 */
label00007418:
00007418 206F 0006 movea.l A0, [A7 + 0x6]
0000741C 317C FFF5 0018 move.w [A0 + 0x18], 0xFFF5
label00007422:
00007422 225F movea.l A1, [A7]+
00007424 121F move.b D1, [A7]+
00007426 205F movea.l A0, [A7]+
00007428 3140 001A move.w [A0 + 0x1A], D0
0000742C 4A01 tst.b D1
0000742E 6604 bne +0x6 /* 00007434 */
00007430 A004 syscall Control
00007432 6002 bra +0x4 /* 00007436 */
label00007434:
00007434 A404 syscall Control, flags=4
label00007436:
00007436 3E80 move.w [A7], D0
00007438 4ED1 jmp [A1]
0000743A 042E 5850 5000 subi.b [A6 + 0x5000], 0x50 /* 'P' */
export_213:
fn00007440:
00007440 48E7 80C0 movem.l -[A7], D0,A0,A1
00007444 701C moveq.l D0, 0x1C
00007446 611A bsr +0x1C /* 00007462 */
00007448 303C 0018 move.w D0, 0x18
0000744C 6114 bsr +0x16 /* 00007462 */
0000744E 303C 0014 move.w D0, 0x14
00007452 610E bsr +0x10 /* 00007462 */
00007454 4CDF 0301 movem.l D0,A0,A1, [A7]+
00007458 2F57 0010 move.l [A7 + 0x10], [A7]
0000745C DEFC 0010 add.w A7, 0x10
00007460 4E75 rts
fn00007462:
00007462 2077 0000 movea.l A0, [A7 + D0.w]
00007466 7000 moveq.l D0, 0x00
00007468 1010 move.b D0, [A0]
0000746A 5280 addq.l D0, 1
0000746C 226F 0020 movea.l A1, [A7 + 0x20]
00007470 D1AF 0020 add.l [A7 + 0x20], D0
00007474 A02E syscall BlockMove/BlockMoveData
00007476 4E75 rts
export_214:
00007478 48E7 80F0 movem.l -[A7], D0,A0,A1,A2,A3
0000747C 302F 0018 move.w D0, [A7 + 0x18]
00007480 4CEF 0F00 001A movem.l A0,A1,A2,A3, [A7 + 0x1A]
00007486 429B clr.l [A3]+
00007488 1740 0003 move.b [A3 + 0x3], D0
0000748C 486B 0005 pea.l [A3 + 0x5]
00007490 4852 pea.l [A2]
00007492 4851 pea.l [A1]
00007494 4850 pea.l [A0]
00007496 4EBA FFA8 jsr [PC - 0x58 /* 00007440 */]
0000749A 4CDF 0F01 movem.l D0,A0,A1,A2,A3, [A7]+
0000749E 2F57 0012 move.l [A7 + 0x12], [A7]
000074A2 DEFC 0012 add.w A7, 0x12
000074A6 4E75 rts
export_215:
000074A8 2F08 move.l -[A7], A0
000074AA 426F 0008 clr.w [A7 + 0x8]
000074AE 2038 02D8 move.l D0, [0x000002D8 /* ABusVars */]
000074B2 0C80 FFFF FFFF cmpi.l D0, 0xFFFFFFFF
000074B8 670C beq +0xE /* 000074C6 */
000074BA 4A80 tst.l D0
000074BC 6708 beq +0xA /* 000074C6 */
000074BE 2040 movea.l A0, D0
000074C0 1F68 0019 0009 move.b [A7 + 0x9], [A0 + 0x19]
label000074C6:
000074C6 205F movea.l A0, [A7]+
000074C8 4E75 rts
export_216:
000074CA 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
000074CE 302F 0018 move.w D0, [A7 + 0x18]
000074D2 4CEF 0300 001A movem.l A0,A1, [A7 + 0x1A]
000074D8 7407 moveq.l D2, 0x07
000074DA 426F 0022 clr.w [A7 + 0x22]
label000074DE:
000074DE 4A40 tst.w D0
000074E0 6704 beq +0x6 /* 000074E6 */
000074E2 526F 0022 addq.w [A7 + 0x22], 1
label000074E6:
000074E6 3F3C 0242 move.w -[A7], 0x242
000074EA 0C40 0242 cmpi.w D0, 0x242
000074EE 6C02 bge +0x4 /* 000074F2 */
000074F0 3E80 move.w [A7], D0
label000074F2:
000074F2 3097 move.w [A0], [A7]
000074F4 2149 0002 move.l [A0 + 0x2], A1
000074F8 4268 0006 clr.w [A0 + 0x6]
000074FC D2DF add.w A1, [A7]+
000074FE 41E8 000C lea.l A0, [A0 + 0xC]
00007502 0440 0242 subi.w D0, 0x242
00007506 6F04 ble +0x6 /* 0000750C */
00007508 51CA FFD4 dbf D2, -0x2E /* 000074DE */
label0000750C:
0000750C 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
00007510 2F57 000A move.l [A7 + 0xA], [A7]
00007514 DEFC 000A add.w A7, 0xA /* '\n' */
00007518 4E75 rts
fn0000751A:
0000751A 7200 moveq.l D1, 0x00
0000751C 1038 0291 move.b D0, [0x00000291 /* PortBUse */]
00007520 6B0A bmi +0xC /* 0000752C */
00007522 0200 000F andi.b D0, 0xF
00007526 5300 subq.b D0, 1
00007528 6602 bne +0x4 /* 0000752C */
0000752A 7201 moveq.l D1, 0x01
label0000752C:
0000752C 1F41 0004 move.b [A7 + 0x4], D1
00007530 4E75 rts
export_217:
00007532 241F move.l D2, [A7]+
00007534 4267 clr.w -[A7]
00007536 4EBA FFE2 jsr [PC - 0x1E /* 0000751A */]
0000753A 4A1F tst.b [A7]+
0000753C 6608 bne +0xA /* 00007546 */
0000753E 303C F3E2 move.w D0, 0xF3E2
00007542 504F addq.w A7, 8
00007544 6014 bra +0x16 /* 0000755A */
label00007546:
00007546 2078 02D8 movea.l A0, [0x000002D8 /* ABusVars */]
0000754A 225F movea.l A1, [A7]+
0000754C 32A8 001A move.w [A1], [A0 + 0x1A]
00007550 225F movea.l A1, [A7]+
00007552 4251 clr.w [A1]
00007554 1350 0001 move.b [A1 + 0x1], [A0]
00007558 4240 clr.w D0
label0000755A:
0000755A 3E80 move.w [A7], D0
0000755C 2242 movea.l A1, D2
0000755E 4ED1 jmp [A1]